TabFormControlBase.SelectedPageChanging Event

Fires when the TabFormPage currently selected in the TabForm is about to be changed, and allows you to cancel the action.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.1.dll


public event TabFormSelectedPageChangingEventHandler SelectedPageChanging
Public Event SelectedPageChanging As TabFormSelectedPageChangingEventHandler

Event Data

The SelectedPageChanging event's data class is DevExpress.XtraBars.TabFormSelectedPageChangingEventArgs.


The SelectedPageChanging event is fired when the currently selected TabFormPage (see TabFormControlBase.SelectedPage) is about to be changed. The PrevPage and Page properties of the event arguments return the previous and new value, respectively. Set the TabFormSelectedPageChangingEventArgs.Cancel property to true to cancel the action.

See Also