Skip to main content

RibbonControl.SelectedPageChanging Event

Fires before a specific Ribbon Page is activated.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

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