TreeMap Events

3 Sep 20201 minute to read

ItemSelected

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)
        {

        }