Skip to main content

XtraTabbedMdiManager.HeaderButtonsShowMode Property

Gets or sets a value which specifies the display mode for the header buttons.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v24.2.dll

Declaration

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

Property Value

Type Default Description
TabButtonShowMode Default

A TabButtonShowMode enumeration member which specifies the manner in which buttons are displayed.

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 XtraTabbedMdiManager.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 XtraTabbedMdiManager.ClosePageButtonShowMode property.

See Also