Skip to main content
All docs
V23.2

SankeyDiagramControl.HighlightedItems Property

Returns a collection of highlighted items (links and nodes).

Namespace: DevExpress.XtraCharts.Sankey

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

NuGet Package: DevExpress.Win.Charts

Declaration

[Browsable(false)]
public IList HighlightedItems { get; }

Property Value

Type Description
IList

A collection of highlighted items.

Remarks

The following code highlights diagram links that correspond to selected grid rows:

void gridView1_FocusedRowChanged(object sender, XtraGrid.Views.Base.FocusedRowChangedEventArgs e) {
    Export row = (Export)gridControl1.FocusedView.GetRow(e.FocusedRowHandle);
    sankeyDiagramControl1.HighlightedItems.Clear();
    sankeyDiagramControl1.HighlightedItems.Add(row);
    HighlightArrows(new List<Export> { row });
}

Note

Run the following demo for the complete example: Tooltip

See Also