Back to Devexpress

XtraTabbedMdiManager.HeaderButtonsShowMode Property

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtratabbedmdimanager-a5ac9502.md

latest2.8 KB
Original Source

XtraTabbedMdiManager.HeaderButtonsShowMode Property

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

Namespace : DevExpress.XtraTabbedMdi

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
TabButtonShowModeDefault

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

|

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

HeaderButtons

ClosePageButtonShowMode

XtraTabbedMdiManager Class

XtraTabbedMdiManager Members

DevExpress.XtraTabbedMdi Namespace