public event TabFormSelectedPageChangingEventHandler SelectedPageChanging
Public Event SelectedPageChanging As TabFormSelectedPageChangingEventHandler
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.