XtraMdiTabPage.ShowCloseButton Property
In This Article
Gets or sets whether the page contains a Close button.
Namespace: DevExpress.XtraTabbedMdi
Assembly: DevExpress.XtraBars.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean ShowCloseButton { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Default |
Default | A Default |
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
#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.
See Also