DocumentViewerBase.SelectedPageChanged Event

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v20.1.dll

Declaration

[DXCategory("Property Changed")]
public event EventHandler SelectedPageChanged
<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