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

TabControlViewBase.AllowHideTabItems Property


Use the HideButtonShowMode property.

Gets or sets whether the tab items can be hidden by end-users. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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


[Obsolete("Use the HideButtonShowMode property.")]
public bool AllowHideTabItems { get; set; }

Property Value

Type Description

true to allow end-users to hide tab items; otherwise, false.


End-users can hide individual tab items by clicking the close button, displayed within their headers. If the AllowHideTabItems property is set to false, the close button is not visible. In this instance, end-users are not allowed to hide tab items.

To specify whether an individual tab item can be hidden, use the DXTabItem.AllowHide property. If this property is set to DefaultBoolean.Default, the AllowHideTabItems property is in effect. Otherwise, the DXTabItem.AllowHide property overrides the AllowHideTabItems property.

To learn more, see Showing and Hiding Tab Items.

See Also