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
System.Boolean

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 Polyline. If you tap on an existing GeometryEditorElement then selection occurs instead.

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(Boolean) sets this property.

See Also
PropertyChanged
AllowPartCreation

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.3 - 200.8
.NET200.3 - 200.8
.NET Windows200.3 - 200.8
.NET Android200.3 - 200.8
.NET iOS200.3 - 200.8
.NET Framework200.3 - 200.8
UWP200.3 - 200.8
In This Article
Back to top Copyright © 2022 Esri.