Back to Devexpress

DXTabControl.TabShown Event

wpf-devexpress-dot-xpf-dot-core-dot-dxtabcontrol-bcbac9dd.md

latest2.2 KB
Original Source

DXTabControl.TabShown Event

Occurs after the tab item has been shown.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public event TabControlTabShownEventHandler TabShown
vb
Public Event TabShown As TabControlTabShownEventHandler

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.

See Also

ShowTabItem

TabShowing

TabHidden

DXTabControl Class

DXTabControl Members

DevExpress.Xpf.Core Namespace