Back to Devexpress

IBaseDocumentDefaultProperties.CanClose Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-ibasedocumentdefaultproperties-ba8f7800.md

latest1.7 KB
Original Source

IBaseDocumentDefaultProperties.CanClose Property

Gets whether the current document can be closed.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[Browsable(false)]
bool CanClose { get; }
vb
<Browsable(False)>
ReadOnly Property CanClose As Boolean

Property Value

TypeDescription
Boolean

A Boolean value that specifies whether the document can be closed.

|

Remarks

A document’s IBaseDocumentDefaultProperties.AllowClose option, if set, overrides a View’s IBaseDocumentProperties.AllowClose option. The CanClose property returns the actual setting that is calculated based on the values of these two options.

See Also

IBaseDocumentDefaultProperties Interface

IBaseDocumentDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views Namespace