Back to Devexpress

IBaseDocumentDefaultProperties.CanDock Property

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

latest1.7 KB
Original Source

IBaseDocumentDefaultProperties.CanDock Property

Gets whether the current document can be docked.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Boolean

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

|

Remarks

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

IBaseDocumentDefaultProperties Interface

IBaseDocumentDefaultProperties Members

DevExpress.XtraBars.Docking2010.Views Namespace