Class GeometryEditorTool
A base class for tools that determine how you interact with a view when editing geometries with a GeometryEditor.
Implements
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
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
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 200.3 - 200.5 |
.NET | 200.3 - 200.5 |
.NET Windows | 200.3 - 200.5 |
.NET Android | 200.3 - 200.5 |
.NET iOS | 200.3 - 200.5 |
.NET Framework | 200.3 - 200.5 |
UWP | 200.3 - 200.5 |