Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

public event TabFormSelectedPageChangingEventHandler SelectedPageChanging

#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