ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / Snapping Class / IsEnabled Property
Example

In This Topic
    IsEnabled Property (Snapping)
    In This Topic
    Gets or sets if snapping is available within the project.
    Syntax
    Public Shared Property IsEnabled As Boolean
    public static bool IsEnabled {get; set;}
    Remarks
    This property turns snapping on or off within the project.
    Example
    Configure Snapping - Turn Snapping on or off
    bool enableSnapping = true;
    //enable snapping
    Snapping.IsEnabled = enableSnapping;
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also