Skip to main content

MapControl.SelectionMode Property

Gets or sets a value specifying how the map control is selected.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

[DefaultValue(ElementSelectionMode.Extended)]
public ElementSelectionMode SelectionMode { get; set; }

Property Value

Type Default Description
ElementSelectionMode Extended

An ElementSelectionMode enumeration member specifying the map’s selection behavior.

Available values:

Name Description
None

The selection of a map element is disabled.

Single

Selects the only map element.

Multiple

Selects multiple map elements.

Extended

Selects multiple consecutive map elements while holding down the SHIFT key.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SelectionMode property.

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.

See Also