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

TdxCustomPreview.OnSelectedPageChanged Event

In This Article

Enables you to respond to navigating to a different available page in the displayed document.

#Declaration

Delphi
property OnSelectedPageChanged: TdxPreviewPageEvent read; write;

#Remarks

This event is fired in response to calling the GoToFirstPage, GoToLastPage, GoToNextPage, or GoToPrevPage procedures. The Sender parameter specifies the instance of a TdxCustomPreview class descendant that fired the OnSelectedPageChanged event in response to changing the currently selected page. To identify the newly selected page’s index, you can use the APageIndex parameter in the event handler.

For the PDF Viewer, the OnSelectedPageChanged event is raised in response to changing the CurrentPageIndex property value.

See Also