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

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(TabButtonShowMode.Default)]
[DXCategory("Behavior")]
public virtual TabButtonShowMode HeaderButtonsShowMode { get; set; }

#Property Value

Type Default Description
TabButtonShowMode Default

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

Available values:

Name Description
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