Show / Hide Table of Contents

Property IsEnabled

IsEnabled

Gets or sets a value indicating whether to enable snapping to the geometries in the ISnapSource, false otherwise. Default is false.

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

true to enable snapping to the geometries in the ISnapSource, false otherwise. Default is false.

Remarks

Snapping sources can be enabled or disabled individually. If IsEnabled or IsFeatureSnappingEnabled are false, this value is ignored and interactive snapping is not enabled to this ISnapSource.

If rule-based snapping is configured, this value is affected by the value of SnapSourceEnablingBehavior passed to SyncSourceSettings(SnapRules, SnapSourceEnablingBehavior). In this case, RuleBehavior also affects if interactive snapping occurs for this snap source, and which parts of the snap source can be snapped to. See SnapRules for more information about configuring rule-based snapping.

See Also
SnapSettings
SnapSourceEnablingBehavior

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.