Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SankeyDiagramControl.HighlightedItems Property

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

Namespace: DevExpress.XtraCharts.Sankey

Assembly: DevExpress.XtraCharts.v24.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