LayoutSnapping.IsEnabled = true; // enable snapping if (LayoutSnapping.IsEnabled) { ... } // do something if snapping is enabled
//enable snapping ArcGIS.Desktop.Layouts.LayoutSnapping.IsEnabled = true; // disable snapping ArcGIS.Desktop.Layouts.LayoutSnapping.IsEnabled = false;
Target Platforms: Windows 11, Windows 10, Windows 8.1