TreeMap Events

1 Mar 20221 minute to read


The ItemSelected event occurs when an item is selected. The selected leaf node underlying data item and the IsSelected boolean property will be passed as arguments to TreeMapItemSelectedEventArgs. The IsSelected property indicates whether the item has been selected.

Set the HighlightOnSelection property to true to use the ItemSelected event.

treeMap.HightlightOnSelection = true;

treeMap.ItemSelected += TreeMap_ItemSelected;

  void TreeMap_ItemSelected(object sender, TreeMapItemSelectedEventArgs e)