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.v24.2.dll
Declaration
Event Data
The SelectedPageChanging event's data class is DevExpress.XtraBars.TabFormSelectedPageChangingEventArgs.
Remarks
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