Show / Hide Table of Contents

Property AllowMovingSelectedElement

AllowMovingSelectedElement

Gets or sets a value indicating whether the selected GeometryEditorElement can be interactively moved. Default is true.

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

true if the selected GeometryEditorElement can be interactively moved, false otherwise. Default is true.

Remarks

If true, you can use a drag gesture to move the selected GeometryEditorElement to the required location. Create a tool to allow moving only specific types of GeometryEditorElement by also allowing or disallowing the selection of different types of element (AllowVertexSelection for example).

If false, the behavior of a drag gesture depends on the current Tool. A VertexTool will pan the map, whereas a FreehandTool will create a new part (depending on AllowPartCreation).

SetAllowTransformation(Boolean) sets this property.

See Also
RequireSelectionBeforeMove

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.