Skip to main content

TabControlSelectionChangingEventArgs.Cancel Property

Gets or sets whether to cancel selecting the tab item.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public bool Cancel { get; set; }

#Property Value

Type Description
Boolean

true to cancel selecting the tab item; otherwise, false.

#Remarks

The index of the selected item is returned by the DXTabControl.SelectedIndex property. The index of the previously selected item can be obtained via the event parameter's TabControlSelectionChangedEventArgs.OldSelectedIndex property.

See Also