windowsforms-devexpress-dot-xtratreemap-dot-hierarchicalchartcontrolbase-78ac039a.md
Fires after the selection has been changed.
Namespace : DevExpress.XtraTreeMap
Assembly : DevExpress.XtraTreeMap.v25.2.UI.dll
NuGet Package : DevExpress.Win.TreeMap
public event SelectionChangedEventHandler SelectionChanged
Public Event SelectionChanged As SelectionChangedEventHandler
The SelectionChanged event's data class is SelectionChangedEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| SelectedGroups | Returns the collection of selected group paths. |
| SelectedItems | Returns the collection of selected items. |
Handle the HierarchicalChartControlBase.SelectionChanged event to perform specific actions when the Tree Map’s or the Sunburst’s selection changes.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectionChanged event.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
sunburst.ToolTipController = toolTipController;
sunburst.SelectionChanged += Sunburst_SelectionChanged;
emptyTitle = new Title() { Visible = false };
sunburst.ToolTipController = toolTipController
AddHandler sunburst.SelectionChanged, AddressOf Sunburst_SelectionChanged
emptyTitle = New Title() With {.Visible = False}
See Also
HierarchicalChartControlBase Class