XtraTabbedMdiManager.ClosePageButtonShowMode Property

Gets or sets whether Close buttons are displayed in individual tab pages and the tab control's header.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

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

Property Value

Type Default Description
ClosePageButtonShowMode

Default

A ClosePageButtonShowMode value that specifies the display mode for Close buttons.

Remarks

Close buttons can be displayed in the tab control's header and individual tab pages. Use the ClosePageButtonShowMode to specify the visibility of Close buttons. If this property is set to a value that allows the Close button in the tab control's header to be displayed, this button can still be hidden via the XtraTabbedMdiManager.HeaderButtonsShowMode property. See the ClosePageButtonShowMode enumeration for a description of available options.

To hide the Close button within a specific page, use the XtraMdiTabPage.ShowCloseButton property.

Implements

DevExpress.XtraTab.IXtraTabProperties.ClosePageButtonShowMode
See Also