Back to Devexpress

DiagramCommands.SetSelectedItemsStyle Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcommands-33bed3db.md

latest1.5 KB
Original Source

DiagramCommands.SetSelectedItemsStyle Property

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

Namespace : DevExpress.Xpf.Diagram

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public ICommand<DiagramItemStyleId> SetSelectedItemsStyle { get; }
vb
Public ReadOnly Property SetSelectedItemsStyle As ICommand(Of DiagramItemStyleId)

Property Value

TypeDescription
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.

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

See Also

DiagramCommands Class

DiagramCommands Members

DevExpress.Xpf.Diagram Namespace