PdfViewer.NavigationPaneSelectedPageChanged Event
Fires in response to changing the thumbnails, attachments, or bookmarks page on the navigation pane.
Namespace: DevExpress.XtraPdfViewer
Assembly: DevExpress.XtraPdfViewer.v24.2.dll
NuGet Package: DevExpress.Win.PdfViewer
#Declaration
#Event Data
The NavigationPaneSelectedPageChanged event's data class is PdfNavigationPaneSelectedPageChangedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Previous |
Gets a previously selected page on a navigation pane. |
Selected |
Gets a currently selected page (bookmarks, thumbnails or attachments) on the navigation pane. |
#Remarks
The NavigationPaneSelectedPageChanged event is raised when end-users select pages (thumbnails, attachments or bookmarks) on the navigation pane using the mouse, or when the PdfViewer.NavigationPaneSelectedPage property is changed in code.
In this event, you can obtain the previously and currently selected page using the PdfNavigationPaneSelectedPageChangedEventArgs.PreviousSelectedPage and PdfNavigationPaneSelectedPageChangedEventArgs.SelectedPage properties.