Skip to main content
All docs
V23.2

SankeyDiagramControl.SelectionMode Property

Specifies the selection mode for Sankey nodes and links.

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v23.2.UI.dll

NuGet Package: DevExpress.Win.Charts

Declaration

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 code allows a user to select multiple Sankey elements:

private void Form1_Load(object sender, EventArgs e) {
    sankeyDiagramControl1.SelectionMode = SankeySelectionMode.Multiple;
}

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectionMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also