Back to Devexpress

DockPanel.CanActivate Property

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-45ef9997.md

latest2.0 KB
Original Source

DockPanel.CanActivate Property

Indicates whether a dock panel can be activated.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDescription
Boolean

true if a dock panel can be activated; otherwise, false.

|

Remarks

End-users can activate a panel by clicking the panel or any of the controls residing on it. This can also be done via code by setting the dock manager’s DockManager.ActivePanel property.

The dock panel cannot be activated in the cases listed below:

See Also

ActivePanel

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace