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.v24.1.dll

NuGet Package: DevExpress.Wpf.Diagram

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