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.