Show / Hide Table of Contents

Property AllowVertexCreation

AllowVertexCreation

Gets or sets a value indicating whether to allow a vertex to be created interactively. Default is true.

Declaration
public bool AllowVertexCreation { get; set; }
Property Value
Type Description
bool

true to allow a vertex to be created interactively, false otherwise. Default is true.

Remarks

If true, you can tap on the map to add a new vertex. The vertex is inserted after the previously selected vertex, or as the first vertex if the previous selection was the first vertex in a part of a Multipart. By default, if you tap on an existing GeometryEditorElement, selection occurs instead. If the selected vertex is the first vertex (StartPoint) of a curve segment (IsCurve is true), then tapping on the map does not create a new vertex because vertices cannot be inserted interactively along curve segments.

A FreehandTool ignores this property as it does not create individual vertices; instead you use a freehand gesture to create a part in a polygon or polyline geometry.

Whether true or false, a vertex can be created by InsertVertex(MapPoint).

SetAllowCreation(bool) sets this property.

See Also
PropertyChanged
AllowPartCreation

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.8
.NET200.3 - 300.0
.NET Windows200.3 - 300.0
.NET Android200.3 - 300.0
.NET iOS200.3 - 300.0
.NET Framework200.3 - 200.8
UWP200.3 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.