Back to Devexpress

DockControllerCommand.Activate Property

wpf-devexpress-dot-xpf-dot-docking-dot-dockcontrollercommand.md

latest1.7 KB
Original Source

DockControllerCommand.Activate Property

Activates a specific dock item.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public static RoutedCommand Activate { get; }
vb
Public Shared ReadOnly Property Activate As RoutedCommand

Property Value

TypeDescription
RoutedCommand

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:

xaml
<Button Command="dxdo:DockControllerCommand.Activate" 
         CommandTarget="{Binding ElementName=DockLayoutManager1}"
         CommandParameter="{Binding ElementName=Panel1}"/>Activate</Button>

Corresponding Method: DockControllerBase.Activate

See Also

DockControllerCommand Class

DockControllerCommand Members

DevExpress.Xpf.Docking Namespace