Core.SnapEditor.turnOffAgents_Click C# (CSharp) Method

turnOffAgents_Click() private method

Turns off feature snap agents and turns off edit sketch snap agents by removing them
Using Clear or Remove feature snap agents can be deactivated so that the user can't enable them. Here we simply turn off all the agents, which will allow the user to turn them on.
private turnOffAgents_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
    private void turnOffAgents_Click(object sender, EventArgs e)
    {
      TurnOffAgents();       
    }