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 |
---|---|---|
Tab |
Default | A Tab |
Available values:
Name | Description |
---|---|
Default | The option is equivalent to the Tab |
Always | The Close button is always displayed within the page header panel. The Prev and Next buttons are displayed when the Xtra |
Never | Tab buttons are always hidden. |
When |
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.