XtraTabControl.SelectedPageChanging Event
In This Article
Allows you to prevent a specific tab page from being activated.
Namespace: DevExpress.XtraTab
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DXCategory("Behavior")]
public event TabPageChangingEventHandler SelectedPageChanging
#Event Data
The SelectedPageChanging event's data class is TabPageChangingEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Cancel | Gets or sets whether the event must be canceled. |
Page |
Gets the tab page currently being processed.
Inherited from Tab |
Prev |
Gets the previously processed tab page.
Inherited from Tab |
#Remarks
The SelectedPageChanging event fires before a specific page is activated. If you set the Cancel parameter to true the page will not be activated.
See Also