Show / Hide Table of Contents

Enum SnapState

The resulting snap state when snapping to or from a snap candidate.

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

Fields

Name Description
SnappedToFeature

A snap has occurred to a ISnapSource.

This value will be returned in the following cases:

  • When moving from an unsnapped position to a position that's snapped to an existing snappable feature or graphic.
  • When there is a change in snap candidate. For example, moving from a snap point on a polyline segment to its end vertex. This includes moving to a multiple candidate snap where one of the candidates was part of the previous snap.

Note that if the snap contains multiple candidates, where some are from features/graphics and some are from geometry guides, then SnappedToFeature will take priority over SnappedToGeometryGuide.

This value will not be returned in these cases:

  • When there is a change in snap point but not snap candidate. For example, moving from a snap point on a polyline segment to another snap point on the same polyline segment.
  • When moving around a feature or graphic such that the snap point and snap candidate do not change.

SnappedToGeometryGuide

A snap has occured to a geometry guide.

This value will be returned in the following cases:

  • When moving from an unsnapped position to a position that's snapped to an existing geometry guide.
  • When there is a change in snap candidate. For example, moving from a snap point on a geometry guide to a different geometry guide, or to a multiple candidate snap that involves the same guide.

This value will not be returned in these cases:

  • When there is a change in snap point but not snap candidate. For example, moving from a snap point on a geometry guide to another snap point on the same geometry guide.
  • When moving around a geometry guide such that the snap point and snap candidate do not change.

Unsnapped

The previous snap candidate is no longer suitable and the current edit position is not snapped.

Applies to

TargetVersions
.NET Standard 2.0200.6 - 200.7
.NET200.6 - 200.7
.NET Windows200.6 - 200.7
.NET Android200.6 - 200.7
.NET iOS200.6 - 200.7
.NET Framework200.6 - 200.7
UWP200.6 - 200.7
In This Article
Back to top Copyright © 2022 Esri.