DockControllerCommand.Activate Property
In This Article
Activates a specific dock item.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
#Declaration
public static RoutedCommand Activate { get; }
#Property Value
Type | Description |
---|---|
Routed |
A command that implements the ICommand interface and is routed through the element tree. |
#Remarks
The following code sample activates the DockLayoutManager’s Panel1 item:
<Button Command="dxdo:DockControllerCommand.Activate"
CommandTarget="{Binding ElementName=DockLayoutManager1}"
CommandParameter="{Binding ElementName=Panel1}"/>Activate</Button>
Corresponding Method: DockControllerBase.Activate
See Also