Show / Hide Table of Contents

Enum SnapSourceEnablingBehavior

Controls how snap sources are enabled when calling SyncSourceSettings(SnapRules, SnapSourceEnablingBehavior).

Namespace: Esri.ArcGISRuntime.UI.Editing
Assembly: Esri.ArcGISRuntime.dll
Syntax
public enum SnapSourceEnablingBehavior

Fields

Name Description
Preserve

Preserves IsEnabled values.

When passed to SyncSourceSettings(SnapRules, SnapSourceEnablingBehavior), all new SnapSourceSettings added to the SourceSettings collection will have the default IsEnabled value of false, and existing SnapSourceSettings will be unaffected.

SetFromRules

Enables SnapSourceSettings that have rule-based snapping behaviors.

When passed to SyncSourceSettings(SnapRules, SnapSourceEnablingBehavior), all SnapSourceSettings in the SourceSettings collection with a RuleBehavior of RulesPreventSnapping or RulesLimitSnapping will have IsEnabled set to true.

Any new SnapSourceSettings added to the SourceSettings collection with a RuleBehavior of None will have a IsEnabled value of false, and existing SnapSourceSettings with a RuleBehavior of None will be unaffected.

See Also
SnapSourceSettings
SnapRuleBehavior
SourceSettings

Applies to

TargetVersions
.NET Standard 2.0200.7
.NET200.7
.NET Windows200.7
.NET Android200.7
.NET iOS200.7
.NET Framework200.7
UWP200.7
In This Article
Back to top Copyright © 2022 Esri.