XtraMdiTabPage.ShowCloseButton Property
Gets or sets whether the page contains a Close button.
Namespace: DevExpress.XtraTabbedMdi
Assembly: DevExpress.XtraBars.v19.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean ShowCloseButton { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | **Default** | A DefaultBoolean value that specifies whether a Close button is displayed in the tab. |
Available values:
Name | Description |
---|---|
True | Corresponds to a Boolean value of true. |
False | Corresponds to a Boolean value of false. |
Default | The value is determined by the current object’s parent object setting (e.g., a control setting). |
Remarks
To display Close buttons in individual tab pages, set the XtraTabbedMdiManager.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.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowCloseButton property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.