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 ItemSelectedEventArgs. The IsSelected property indicates whether the item has been selected.

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

treeMap.HighlightOnSelection = true;

treeMap.ItemSelected += TreeMap_ItemSelected;

private void TreeMap_ItemSelected(object sender, TreeMapSelectedEventArgs e)
        {
           
        }