Skip to main content

DiagramCommands.SetSelectedItemsStyle Property

Gets the command that sets the style of the selected diagram item.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v21.2.dll

Declaration

public ICommand<DiagramItemStyleId> SetSelectedItemsStyle { get; }

Property Value

Type Description
DevExpress.Mvvm.ICommand<DevExpress.Diagram.Core.DiagramItemStyleId>

An object implementing the System.Windows.Input.ICommand interface.

Remarks

The SetSelectedItemsStyle command accepts one of the DiagramShapeStyleId class fields as a parameter.

<Button Command="{Binding ElementName=diagramControl, Path=Commands.SetSelectedItemsStyle}" 
        CommandParameter="{x:Static dxdiag:DiagramShapeStyleId.Balanced1}"/>
See Also