SankeyDiagramControl.SelectionMode Property
Specifies the selection mode for Sankey nodes and links.
Namespace: DevExpress.XtraCharts.Sankey
Assembly: DevExpress.XtraCharts.v24.1.UI.dll
NuGet Package: DevExpress.Win.Charts
Declaration
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. |
|
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 code allows a user to select multiple Sankey elements:
private void Form1_Load(object sender, EventArgs e) {
sankeyDiagramControl1.SelectionMode = SankeySelectionMode.Multiple;
}
Related GitHub Examples
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.