Skip to main content

DocumentViewerBase.SelectedPageChanged Event

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v24.1.dll

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


[DXCategory("Property Changed")]
public event EventHandler SelectedPageChanged

Event Data

The SelectedPageChanged event's data class is EventArgs.


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