Show / Hide Table of Contents

Class GeometryEditorTool

A base class for tools that determine how you interact with a view when editing geometries with a GeometryEditor.

Inheritance
System.Object
GeometryEditorTool
FreehandTool
ReticleVertexTool
ShapeTool
VertexTool
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Esri.ArcGISRuntime.UI.Editing
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class GeometryEditorTool : INotifyPropertyChanged
Remarks

Different types of GeometryEditorTool provide different ways of interacting with the view to create and edit geometries with a GeometryEditor. They control how an interaction (for example a tap or a drag gesture on the map view) uses the interaction position to update the Geometry, or to navigate the map view. VertexTool and FreehandTool are both types of tools that allow you to customize how the GeometryEditor reacts to each user interaction, allowing you to tailor the exact behavior appropriately for your users and workflow. GeometryEditorTool also determines the appearance of the Geometry by specifying the GeometryEditorStyle used to draw the geometry in the view.

You may wish to create multiple different tool objects in order to hold different settings, and set them into Tool as appropriate for your workflow. For example, you could create multiple VertexTool objects with GeometryEditorStyle values corresponding the different symbols used by different feature layers.

The different tools do not correspond to different geometry types - for example the VertexTool can be used to edit MapPoint, Multipoint, Polyline and Polygon geometries. The type of geometry being edited using the tool is defined by the start method parameter (see Start(GeometryType) and Start(Geometry).

When a GeometryEditorTool is created, a consistent set of default symbology appropriate for that tool type is applied to the Style property.

Properties

Name Description
Style

Gets or sets the visual appearance of GeometryEditor geometries when this tool is in use.

Events

Name Description
PropertyChanged

Occurs when a non-dependency property value changes.

See Also

VertexTool
ReticleVertexTool
FreehandTool
PropertyChanged

Applies to

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.