Back to Devexpress

IDocumentDefaultProperties.ShowCloseButton Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-widget-dot-idocumentdefaultproperties-5d162bbe.md

latest2.0 KB
Original Source

IDocumentDefaultProperties.ShowCloseButton Property

Gets or sets whether or not this widget should display its Close button.

Namespace : DevExpress.XtraBars.Docking2010.Views.Widget

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
DefaultBoolean ShowCloseButton { get; set; }
vb
Property ShowCloseButton As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

A DefaultBoolean enumerator value that specifies whether or not this widget should display its Close button.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

If the ShowCloseButton property equals Default , this widget acts according to the global IDocumentProperties.ShowCloseButton property.

See Also

IDocumentDefaultProperties Interface

IDocumentDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views.Widget Namespace