Show / Hide Table of Contents

Property IsEnabled

IsEnabled

Gets or sets a value indicating whether interactive geometry edits made using the GeometryEditor should happen using the current SnapSettings.

Declaration
public bool IsEnabled { get; set; }
Property Value
Type Description
System.Boolean

true if interactive geometry edits made using the GeometryEditor should happen using the current SnapSettings, false otherwise. Default is false.

Remarks

If IsEnabled is true and a user edits a geometry interactively, then when the pointer is close to an existing snappable graphic or feature, the position of the interactive edit is adjusted to coincide with ("snap to") that graphic or feature. The content of SourceSettings determines which sources of geometries can be used to snap to.

Setting this value temporarily to false may be useful if you wish to temporarily disable all snapping without affecting how snapping is currently configured. For example, changing this property will not affect the value of IsEnabled, or if rule-based snapping has been configured by using SnapRules.

Applies to

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