Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.

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:

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