Skip to main content
All docs
V24.2

SankeyDiagramControl.SelectionMode Property

Specifies the selection mode for Sankey nodes and links.

Namespace: DevExpress.Xpf.Charts.Sankey

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

[NonCategorized]
public SankeySelectionMode SelectionMode { get; set; }

Property Value

Type Description
SankeySelectionMode

A value that defines Sankey selection mode.

Available values:

Name Description Example
None

A user cannot select Sankey links and nodes.

Sankey selection mode - None

Single

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

Sankey selection mode - Single

Multiple

A user can select multiple Sankey links and nodes.

Sankey selection mode - Multiple

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.

Sankey selection mode - Extended

Remarks

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

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