Skip to main content

IBaseDocumentDefaultProperties.CanClose Property

Gets whether the current document can be closed.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


bool CanClose { get; }

Property Value

Type Description

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


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