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 |
|
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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.6 |
.NET | 200.3 - 200.6 |
.NET Windows | 200.3 - 200.6 |
.NET Android | 200.3 - 200.6 |
.NET iOS | 200.3 - 200.6 |
.NET Framework | 200.3 - 200.6 |
UWP | 200.3 - 200.6 |