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

RibbonControl.SelectedPageChanging Event

Fires before a specific Ribbon Page is activated.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public event RibbonPageChangingEventHandler SelectedPageChanging

#Event Data

The SelectedPageChanging event's data class is DevExpress.XtraBars.Ribbon.RibbonPageChangingEventArgs.

#Remarks

This event fires before a specific Ribbon Page is activated. It can be handled to customize the page. The event’s Cancel parameter allows you to prevent the page from being activated.

The RibbonControl.SelectedPageChanged event fires after the page has been activated.

See Also