Skip to main content
A newer version of this page is available. .

MapControl.SelectionChanged Event

Fires after the selection has been changed.

Namespace: DevExpress.Xpf.Map

Assembly: DevExpress.Xpf.Map.v21.2.dll

NuGet Package: DevExpress.Wpf.Map

Declaration

public event MapItemSelectionChangedEventHandler SelectionChanged

Event Data

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.

Remarks

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