Skip to main content
A newer version of this page is available. .

DiagramCommands.SetSelectedItemsStyle Property

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

Namespace: DevExpress.Xpf.Diagram

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

Declaration

public ICommand<DiagramItemStyleId> SetSelectedItemsStyle { get; }

Property Value

Type Description
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