Back to Devexpress

DocumentViewerBase.SelectedPageChanged Event

windowsforms-devexpress-dot-documentview-dot-controls-dot-documentviewerbase-1df9fc7b.md

latest2.2 KB
Original Source

DocumentViewerBase.SelectedPageChanged Event

Occurs when the selected page within the print preview is changed.

Namespace : DevExpress.DocumentView.Controls

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DXCategory("Property Changed")]
public event EventHandler SelectedPageChanged
vb
<DXCategory("Property Changed")>
Public Event SelectedPageChanged As EventHandler

Event Data

The SelectedPageChanged event's data class is EventArgs.

Remarks

The following methods invoke this event:

Generally, this event occurs when a user navigates through the pages of a multipage report. If there was no selected page within the report, using the above methods or clicking any page will raise a SelectedPageChanged event.

This is the only way to raise this event in a single page report. Navigation buttons on the main menu of a Print Preview duplicate the above methods and therefore can also raise the SelectedPageChanged event.

See Also

DocumentViewerBase Class

DocumentViewerBase Members

DevExpress.DocumentView.Controls Namespace