Back to Devexpress

MapControl.SelectionChanging Event

wpf-devexpress-dot-xpf-dot-map-dot-mapcontrol-0a089336.md

latest1.6 KB
Original Source

MapControl.SelectionChanging Event

Occurs before a map item is selected, enabling a handler to cancel the map item selection change.

Namespace : DevExpress.Xpf.Map

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

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public event MapItemSelectionChangingEventHandler SelectionChanging
vb
Public Event SelectionChanging As MapItemSelectionChangingEventHandler

Event Data

The SelectionChanging event's data class is MapItemSelectionChangingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets whether the map item selection should be canceled.
SelectionGets the list of selected objects on a map.

Remarks

This event fires before a selection is changed. It can be handled to customize the map item selection. The event’s Cancel parameter allows you to prevent the map item from being selected.

See Also

MapControl Class

MapControl Members

DevExpress.Xpf.Map Namespace