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

TabControlViewBase.AllowHideTabItems Property

OBSOLETE

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

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

Declaration

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

Property Value

Type Description
Boolean

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

Remarks

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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the AllowHideTabItems property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also