XtraTabPage.ShowCloseButton Property

Gets or sets whether the page contains a Close button.

Namespace: DevExpress.XtraTab

Assembly: DevExpress.XtraEditors.v20.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean ShowCloseButton { get; set; }
<DefaultValue(DefaultBoolean.Default)>
Public Overridable Property ShowCloseButton As DefaultBoolean

Property Value

Type Default Description
DefaultBoolean

Default

A DefaultBoolean value that specifies whether a Close button is displayed in the tab.

Remarks

To display Close buttons in individual tab pages, set the XtraTabControl.ClosePageButtonShowMode property to an appropriate value. The ShowCloseButton property allows the Close button in specific pages to be hidden. To do this, set the ShowCloseButton property to False.

Note that by default, clicking Close buttons has no effect. Handle the XtraTabControl.CloseButtonClick event to respond to button clicking.

Implements

DevExpress.XtraTab.IXtraTabPage.ShowCloseButton
See Also