Skip to main content
All docs
V24.2

SankeyDiagramControl.HighlightedItems Property

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

Namespace: DevExpress.XtraCharts.Sankey

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

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