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

MapControl.SelectionMode Property

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

Namespace: DevExpress.Xpf.Map

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

Declaration

[NonCategorized]
public ElementSelectionMode SelectionMode { get; set; }

Property Value

Type Description
ElementSelectionMode

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 (the SHIFT key or Ctrl key is held down) or deselects map elements (the Ctrl key is held down).

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