Skip to main content

IBaseDocumentDefaultProperties.CanDock Property

Gets whether the current document can be docked.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


bool CanDock { get; }

Property Value

Type Description

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


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

See Also