Class ProgrammaticReticleTool
Allows you to edit geometries in a GeometryEditor using a GeometryEditorReticle, ideal for precise editing with snapping on a touch screen with a fully customizable user experience.
Implements
Namespace: Esri.ArcGISRuntime.UI.Editing
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class ProgrammaticReticleTool : ReticleTool, INotifyPropertyChanged
Remarks
The ProgrammaticReticleTool provides precise, vertex-based geometry editing on touch devices using the GeometryEditor with a fully customizable user experience. Unlike the ReticleVertexTool, the ProgrammaticReticleTool has no ReticleInteractionConfiguration to define the effect of tap interactions. Tap interactions have no effect and are not handled by this tool. Instead, the programmatic methods can be called when required to give granular control for custom workflows such as those using buttons or other triggers. To provide the ability to programmatically move, resize, and rotate whole geometries, or parts of multipart geometries, you can use the programmatic calls on the GeometryEditor such as RotateSelectedElement(Double, MapPoint), MoveSelectedElement(MapPoint) and ScaleSelectedElement(Double, Double, MapPoint).
Constructors
Name | Description |
---|---|
ProgrammaticReticleTool() | Initializes a new instance of the ProgrammaticReticleTool class. |
Properties
Name | Description |
---|---|
VertexCreationPreviewEnabled | Gets or sets a value indicating whether the vertex feedback under reticle and snap feedback is visible when creating a new vertex, |
Methods
Name | Description |
---|---|
PickUpSelectedElement() | Picks up the currently selected element if the element is a GeometryEditorVertex or GeometryEditorMidVertex. |
PlaceElementAtReticle() | Inserts a new GeometryEditorVertex or drops the currently picked up element at the position of the reticle. |
SelectElementAtReticle() | Selects an element at the current position of the reticle. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.8 |
.NET | 200.8 |
.NET Windows | 200.8 |
.NET Android | 200.8 |
.NET iOS | 200.8 |
.NET Framework | 200.8 |
UWP | 200.8 |