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 |
|
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
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.3 - 200.8 |
| .NET | 200.3 - 300.0 |
| .NET Windows | 200.3 - 300.0 |
| .NET Android | 200.3 - 300.0 |
| .NET iOS | 200.3 - 300.0 |
| .NET Framework | 200.3 - 200.8 |
| UWP | 200.3 - 200.8 |