Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TabControlViewBase.HideButtonShowMode Property

Gets or sets when to show the Hide button. This is a dependency property.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

#Declaration

public HideButtonShowMode HideButtonShowMode { get; set; }

#Property Value

Type Description
HideButtonShowMode

An DevExpress.Xpf.Core.HideButtonShowMode enumeration value that specifies the location where the Hide button is shown.

The default is HideButtonShowMode.NoWhere.

Available values:

Name Description
NoWhere

The Hide button is not shown.

InAllTabs

The Hide button is shown in all tab headers.

InActiveTab

The Hide button is shown in the active tab header only.

InHeaderArea

The Hide button is shown in the Header Area.

InAllTabsAndHeaderArea

The Hide button is shown in all tab headers and in the Header Area.

InActiveTabAndHeaderArea

The Hide button is shown in the active tab header and in the Header Area.

#Remarks

The DXTabControl has the Hide and New buttons that provide the capability to hide\add tab items.

TabControl_HideAndNewButtons_Office2013

Location of the Hide button is specified using the TabControlViewBase.HideButtonShowMode property.

  • NoWhere - the Hide button is not shown.

    TabControl_HideButtonShowMode_NoWhere

  • InAllTabs - the Hide button is shown in all tab headers.

    TabControl_HideButtonShowMode_InAllTabs

  • InActiveTab - the Hide button is shown in the active tab header only.

    TabControl_HideButtonShowMode_InActiveTab

  • InHeaderArea - the Hide button is shown in the Header Area.

    TabControl_HideButtonShowMode_InHeaderArea

  • InAllTabsAndHeaderArea - the Hide button is shown in all tab headers and in the Header Area.

    TabControl_HideButtonShowMode_InAllTabsAndHeaderArea

  • InActiveTabAndHeaderArea - the Hide button is shown in the active tab header and in the Header Area.

    TabControl_NewButtonShowMode_InHeaderAreaAndTabPanel

See Also