SnappedToFeature

A snap has occurred to a SnapSource. 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 SnapState.SnappedToFeature will take priority over SnapState.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.

Since

200.6.0