ArcGIS Pro 2.7 API Reference Guide
Snapping Class
Members 

ArcGIS.Desktop.Mapping Namespace : Snapping Class
Provides access to the snapping environment.
Object Model
Snapping ClassLayerSnapModes ClassSnappingOptions Class
Syntax
Remarks

Changing the IsEnabled property has immediate effect, and saved into user preferences.

Changing the snapping modes, via SetSnapMode or SetSnapModes also has immediate effect, applied to all project MapViews, and saved into user preferences.

You can obtain a copy of the SnappingOptions for a particular Map using ArcGIS.Desktop.Mapping.Snapping.GetOptionsAysnc. Changes made to the resulting SnappingOptions object, are not immediately made to the system until the copy is committed to the project using SetOptions.

Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
      ArcGIS.Desktop.Mapping.Snapping

Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Snapping Members
ArcGIS.Desktop.Mapping Namespace