Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentViewerBase.SelectedPageChanged Event

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

Namespace: DevExpress.DocumentView.Controls

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

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

#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