wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-e08ee26c.md
Fires after the selection has been changed.
Namespace : DevExpress.Xpf.Map
Assembly : DevExpress.Xpf.Map.v25.2.dll
NuGet Package : DevExpress.Wpf.Map
public event MapItemSelectionChangedEventHandler SelectionChanged
Public Event SelectionChanged As MapItemSelectionChangedEventHandler
The SelectionChanged event's data class is MapItemSelectionChangedEventArgs. The following properties provide information specific to this event:
| Property | Description |
|---|---|
| Selection | Gets the list of selected objects on a map. |
Use the SelectionChanged event handler to perform specific actions each time the end user selects the map control.
MapItemSelectionChangedEventArgs.Selection stores user data objects that are used to create map items. For example, Selection contains the MapItem descendants if you use file data adapters (KmlFileDataAdapter, ShapefileDataAdapter or SvgFileDataAdapter). Selection stores the MapItem.Tag property values if the Map Control is bound to a data source.
See Also