Back to Devexpress

XtraTabControl.HeaderButtonsShowMode Property

windowsforms-devexpress-dot-xtratab-dot-xtratabcontrol-6e9d849a.md

latest2.8 KB
Original Source

XtraTabControl.HeaderButtonsShowMode Property

Gets or sets a value specifying whether and when Close , Next and Prev buttons are displayed in the tab control’s header.

Namespace : DevExpress.XtraTab

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(TabButtonShowMode.Default)]
[DXCategory("Behavior")]
public virtual TabButtonShowMode HeaderButtonsShowMode { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(TabButtonShowMode.Default)>
Public Overridable Property HeaderButtonsShowMode As TabButtonShowMode

Property Value

TypeDefaultDescription
TabButtonShowModeDefault

A TabButtonShowMode value that specifies whether and when tab buttons are displayed within the header.

|

Available values:

NameDescription
Default

The option is equivalent to the TabButtonShowMode.WhenNeeded option.

| | Always |

The Close button is always displayed within the page header panel. The Prev and Next buttons are displayed when the XtraTabControl.MultiLine property is set to false.

| | Never |

Tab buttons are always hidden.

| | WhenNeeded |

Tab buttons are automatically shown when the tab control’s width is insufficient to display all the page headers.

|

Remarks

The tab control’s header can display Close , Next and Prev buttons. The XtraTabControl.HeaderButtons property specifies which of these buttons are available, and the HeaderButtonsShowMode property specifies when these buttons are available.

Individual tab pages can display their own Close buttons, as specified by the XtraTabControl.ClosePageButtonShowMode property.

See Also

ClosePageButtonShowMode

HeaderButtons

XtraTabControl Class

XtraTabControl Members

DevExpress.XtraTab Namespace