Skip to main content
All docs
V26.1
  • SankeyDiagramControl.SelectionMode Property

    Specifies the selection mode for Sankey nodes and links.

    Namespace: DevExpress.XtraCharts.Sankey

    Assembly: DevExpress.XtraCharts.v26.1.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;
    }
    
    See Also