All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

SankeyDiagramControl.HighlightedItemsChanged Event

Occurs when a collection of highlighted items (links or nodes) is changed.

Namespace: DevExpress.XtraCharts.Sankey

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

Declaration

public event SankeyHighlightedItemsChangedEventHandler HighlightedItemsChanged
Public Event HighlightedItemsChanged As SankeyHighlightedItemsChangedEventHandler

Event Data

The HighlightedItemsChanged event's data class is SankeyHighlightedItemsChangedEventArgs. The following properties provide information specific to this event:

Property Description
HighlightedLinks Returns a collection of highlighted diagram links.
HighlightedNodes Returns a collection of highlighted diagram nodes.

Remarks

The following code tracks changes to highlighted diagram items:

void HighlightedItemsChanged(object sender, SankeyHighlightedItemsChangedEventArgs e) {
    var list = e.HighlightedLinks.Select(x => (Export)x.Tags[0]);
    HighlightArrows(list);
}
NOTE

Run the following demo for the complete example: Tooltip

See Also