Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to customize PDF Viewer Ribbon

$
0
0

The following example shows how to customize PDF Viewer Ribbon.

To accomplish this task, it is necessary to override the default PdfViewerControl's RibbonTemplate and add the required bar items to the newly defined RibbonControl.

Updated

Starting with version 14.1.5, you can use actions instead of modifying the template to customize the PdfViewerControl's Ribbon.

Question Comments

Added By: Daniel FS at: 1/15/2015 9:12:39 AM    

Hi,

It seems that in this example you are adding a custom button (MainWindow.xaml.vb):

Private Sub bCustomItem_ItemClick(ByVal sender As Object, ByVal e As DevExpress.Xpf.Bars.ItemClickEventArgs)
           Dim w As New WinUIDialogWindow()
           w.Content = "Hello world!"
           w.ShowDialogWindow(MessageBoxButton.YesNo)
End Sub

But I can't see how it is declared (in MainWindow.xaml it doesn't appear).
How can I add a custom button?
Thanks.

Daniel.

Added By: Andrey Marten (DevExpress Support) at: 1/15/2015 1:09:40 PM    


Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T197322: How to add a custom button to the PDF Viewer Ribbon. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

Thanks,
Andrey

Added By: Eric A at: 4/8/2016 10:21:55 AM    How can I hide the PdfViewer RibbonControl ApplicationButton and collapse the title bar?

ie Equivalent to this:
[XAML]
<dxr:RibbonControlRibbonStyle="Office2010"ShowApplicationButton="False"RibbonTitleBarVisibility="Collapsed"/>

Added By: Elliot (DevExpress Support) at: 4/8/2016 10:25:51 AM    

Hello,

To process your recent post more efficiently, I created a separate ticket on your behalf: T365839: How can I hide the PdfViewer RibbonControl ApplicationButton and collapse the title bar? . This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>