Back to Devexpress

TabControlViewBase.HideButtonShowMode Property

wpf-devexpress-dot-xpf-dot-core-dot-tabcontrolviewbase-32888789.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public HideButtonShowMode HideButtonShowMode { get; set; }
vb
Public Property HideButtonShowMode As HideButtonShowMode

Property Value

TypeDescription
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:

NameDescription
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.

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

  • 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.

See Also

TabControlViewBase Class

TabControlViewBase Members

DevExpress.Xpf.Core Namespace