Skip to main content
A newer version of this page is available. .

RibbonControl.SelectedPageChanged Event

Fires after the selected page has been changed.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v19.1.dll

Declaration

[DXCategory("Events")]
public event EventHandler SelectedPageChanged

Event Data

The SelectedPageChanged event's data class is EventArgs.

Remarks

The SelectedPageChanged event is raised when end-users select pages via the keyboard, clicking their headers using the mouse, or when the RibbonControl.SelectedPage property is changed in code.

To perform specific actions before a page is activated or prevent the page from being activated, handle the RibbonControl.SelectedPageChanging event.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectedPageChanged event.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also