RibbonControl.SelectedPageChanging Event

Fires before a specific Ribbon Page is activated.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DXCategory("Events")]
public event RibbonPageChangingEventHandler SelectedPageChanging
<DXCategory("Events")>
Public Event SelectedPageChanging As RibbonPageChangingEventHandler

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