Skip to main content
A newer version of this page is available. .

DXTabControl.HideTabItem(Int32, Boolean) Method

Hides the specified tab item.

Namespace: DevExpress.Xpf.Core

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public virtual void HideTabItem(
    int index,
    bool raiseEvents = true
)

Parameters

Name Type Description
index Int32

An integer value that specifies the index of the tab item to be hidden.

Optional Parameters

Name Type Default Description
raiseEvents Boolean True

An boolean value that specifies whether the DXTabControl raises the DXTabControl.TabHiding and DXTabControl.TabHidden events.

See Also