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 |
|
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
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |