Back to Devexpress

BaseLayoutItem.AllowActivate Property

wpf-devexpress-dot-xpf-dot-docking-dot-baselayoutitem-51cf86cf.md

latest2.7 KB
Original Source

BaseLayoutItem.AllowActivate Property

Gets or sets whether the item can be activated. This is a dependency property.

Namespace : DevExpress.Xpf.Docking

Assembly : DevExpress.Xpf.Docking.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public bool AllowActivate { get; set; }
vb
Public Property AllowActivate As Boolean

Property Value

TypeDescription
Boolean

true if the item can be activated; otherwise, false.

|

Remarks

To activate a specific item in code, use the DockLayoutManager.Activate method.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowActivate property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-diagram-mdi/CS/MainWindow.xaml#L126

xml
MaxWidth="300"
AllowActivate="False"
AllowClose="False"

See Also

Activate(BaseLayoutItem)

ActiveDockItem

ActiveLayoutItem

DockItemActivated

DockItemActivating

LayoutItemActivated

LayoutItemActivating

IsActive

BaseLayoutItem Class

BaseLayoutItem Members

DevExpress.Xpf.Docking Namespace