windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-b020623d.md
Occurs when a specific page is about to be selected, and allows cancellation of the operation.
Namespace : DevExpress.XtraTab
Assembly : DevExpress.XtraEditors.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DXCategory("Action")]
public event TabPageCancelEventHandler Selecting
<DXCategory("Action")>
Public Event Selecting As TabPageCancelEventHandler
The Selecting event's data class is TabPageCancelEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Action | Gets the action being performed on a tab. Inherited from TabPageEventArgs. |
| Cancel | Gets or sets whether the event must be canceled. |
| Page | Gets the currently processed page. Inherited from TabPageEventArgs. |
| PageIndex | Gets the index of the current page. Inherited from TabPageEventArgs. |
See the XtraTabControl.Deselecting topic to learn more.
See Also