You are viewing help content for pre-release software. This document and the features it describes are subject to change. Switch to the current version.

TabControlTabHidingEventArgs Class

Provides data for the DXTabControl.TabHiding event.

Namespace: DevExpress.Xpf.Core

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


public class TabControlTabHidingEventArgs :
Public Class TabControlTabHidingEventArgs
    Inherits TabControlCommonCancelEventArgsBase


The DXTabControl.TabHiding event is fired before a tab item is hidden, allowing you to cancel the action. To do this, set the event parameter's TabControlTabHiddingEventArgs.Cancel property to true. Use the TabControlTabHiddingEventArgs.TabIndex property to obtain the index of the tab item that is being hidden.

After the tab item has been hidden, the DXTabControl.TabHidden event is fired.

See Also