DXTabControl.TabShown Event
Occurs after the tab item has been shown.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Event Data
The TabShown event's data class is TabControlTabShownEventArgs.
Remarks
A hidden tab item can be shown using the DXTabControl.ShowTabItem method.
An index of the tab item that has been shown is returned by the event parameter’s TabControlTabShownEventArgs.TabIndex property. To prevent tab items from being shown, handle the DXTabControl.TabShowing event, which is fired before the item is shown.
After the tab item has been hidden, the DXTabControl.TabHidden event is fired. To learn more, see Showing and Hiding Tab Items.
Handle the DXTabControl.SelectionChanging or DXTabControl.SelectionChanged event to cancel selecting a tab item or to respond to this action respectively. For details, see Header Menu.