Back to Devexpress

SankeyDiagramControl.SelectionMode Property

wpf-devexpress-dot-xpf-dot-charts-dot-sankey-dot-sankeydiagramcontrol-b70bcc98.md

latest2.5 KB
Original Source

SankeyDiagramControl.SelectionMode Property

Specifies the selection mode for Sankey nodes and links.

Namespace : DevExpress.Xpf.Charts.Sankey

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
[NonCategorized]
public SankeySelectionMode SelectionMode { get; set; }
vb
<NonCategorized>
Public Property SelectionMode As SankeySelectionMode

Property Value

TypeDescription
SankeySelectionMode

A value that defines Sankey selection mode.

|

Available values:

NameDescriptionExample
None

A user cannot select Sankey links and nodes.

|

| | Single |

A user can select a single Sankey link or a node with the related links.

|

| | Multiple |

A user can select multiple Sankey links and nodes.

|

| | Extended |

A user can select a single Sankey link or a node with the related links. A user can hold down the Shift or Ctrl key to select multiple Sankey links and nodes.

|

|

Remarks

The following markup allows a user to select multiple Sankey elements:

xaml
<dxsa:SankeyDiagramControl x:Name="sankeyDiagramControl1" 
                           SelectionMode="Multiple"  
                           DataSource="{Binding Data}"  
                           SourceDataMember="Source" 
                           TargetDataMember="Target" 
                           WeightDataMember="Value">
    <!--...-->
</dxsa:SankeyDiagramControl>

See Also

SankeyDiagramControl Class

SankeyDiagramControl Members

DevExpress.Xpf.Charts.Sankey Namespace