Show / Hide Table of Contents

Property AllowRotatingSelectedElement

AllowRotatingSelectedElement

Gets or sets a value indicating whether to allow you to interactively rotate the selected GeometryEditorElement. Default is true.

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

true to allow you to interactively rotate the selected GeometryEditorElement, false otherwise. Default is true.

Remarks

This property applies when the SelectedElement is:

  • a GeometryEditorGeometry when Geometry is a Polygon, a Polyline, or a Multipoint
  • a GeometryEditorPart

For example, this does not apply if the selected element is a GeometryEditorVertex because a zero-dimensional geometry cannot be rotated.

When this property is true, and the SelectedElement is rotatable, then a control handle is displayed (see RotateHandleSymbol) that allows the selected element to be interactively rotated. The bounding box of the selected element is also displayed (BoundingBoxSymbol).

Interactive rotation changes the position of the selected element according to the movement of the rotation handle using the center of the extent of the selected element as the center of rotation (origin). Use RotateSelectedElement(Double, MapPoint) to rotate the selected element around a given origin.

SetAllowTransformation(Boolean) sets this property.

See Also
CanRotate
PropertyChanged

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.