Back to Devexpress

IBaseDocumentDefaultProperties.CanActivate Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-ibasedocumentdefaultproperties-3da8a43e.md

latest1.8 KB
Original Source

IBaseDocumentDefaultProperties.CanActivate Property

Gets whether the current document can be activated.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Boolean

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

|

Remarks

A document’s IBaseDocumentDefaultProperties.AllowActivate option, if set, overrides a View’s IBaseDocumentProperties.AllowActivate option. The CanActivate 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