Show / Hide Table of Contents

Property RequireSelectionBeforeMove

RequireSelectionBeforeMove

Gets or sets a value indicating whether to require a GeometryEditorElement to first be selected before it can be moved by interactively dragging. Default is false.

Declaration
public bool RequireSelectionBeforeMove { get; set; }
Property Value
Type Description
System.Boolean

true to require a GeometryEditorElement to first be selected before it can be moved by interactively dragging, false otherwise. Default is false.

Remarks

By default, you can select and immediately move an element in one gesture. Some users may find this can lead to an increase in accidental element moves when editing. By setting this to true, this can reduce the possibility of accidental moves. Alternatively, you may wish to provide access to Undo() and Redo() to provide easy correction of accidental edits.

If false, the behavior of a drag gesture depends on the current Tool. For a VertexTool, a drag gesture on the map over a geometry editor element that is not already selected pans the map, whereas a FreehandTool will create a new part (depending on AllowPartCreation).

This property applies if and only if AllowMovingSelectedElement is true.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.7
.NET200.3 - 200.7
.NET Windows200.3 - 200.7
.NET Android200.3 - 200.7
.NET iOS200.3 - 200.7
.NET Framework200.3 - 200.7
UWP200.3 - 200.7
In This Article
Back to top Copyright © 2022 Esri.