ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class


In This Topic
    MapTool Class Methods
    In This Topic

    For a list of all members of this type, see MapTool members.

    Protected Methods
     NameDescription
    Protected MethodToggles the tool between sketch and selection modes. Only supported when SketchType is set to Point, Line, Polygon, or Multipoint.  
    Protected MethodOverloaded.   
    Protected MethodOverloaded.   
    Protected Method Clears the current sketch in the active map view.  
    Protected Method Creates a new EditOperation to create a feature using the given template and geometry.  
    Protected Method Finishes the current sketch in the active map view.  
    Protected Method Gets the current geometry of the sketch without finishing it.  
    Protected Method Gets the default segment sketching symbol information. This method must be called on the MCT. Use QueuedTask.Run.  
    Protected Method Gets the symbol for a vertex while sketching. This method must be called on the MCT. Use QueuedTask.Run.  
    Protected MethodOccurs when the OnToolDoubleClick event is handled.  
    Protected MethodOccurs when the OnToolKeyDown event is handled.  
    Protected MethodOccurs when the OnToolKeyUp event is handled.  
    Protected MethodOccurs when the OnToolMouseDown event is handled.  
    Protected MethodOccurs when the OnToolMouseUp event is handled.  
    Protected Method Called to inform the Tool a Pane referencing it as the active tool is activating or deactivating.  
    Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
    Protected Internal Method Called on the active tool when a pane change occurrs to see if the tool wants to remain active. (Inherited from ArcGIS.Desktop.Framework.Contracts.Tool)
    Protected Method Occurs when the current template is modified.  
    Protected Internal Method Occurs when a pointer is pressed on a Pane and the tool is active. (Inherited from ArcGIS.Desktop.Framework.Contracts.Tool)
    Protected Internal Method Occurs when a pointer is released over a Pane. (Inherited from ArcGIS.Desktop.Framework.Contracts.Tool)
    Protected Method Occurs when the selection changes in the map.  
    Protected Method Occurs when a sketch is canceled.  
    Protected Method Occurs when a sketch is finished.  
    Protected Method Occurs when a sketch is modified.  
    Protected Method Occurs when the tool is activated.  
    Protected Method Occurs when the tool is deactivated.  
    Protected Method Occurs when a mouse button is clicked on the view two or more times.  
    Protected Method Occurs when a key is pressed and the view has focus.  
    Protected Method Occurs when a key is released and the view has focus.  
    Protected Method Occurs when a mouse button is pressed on the view.  
    Protected Method Occurs when the mouse pointer moves over the view.  
    Protected Method Occurs when a mouse button is released on the view.  
    Protected Internal Method Occurs when a touch event occurs over a Pane. (Inherited from ArcGIS.Desktop.Framework.Contracts.Tool)
    Protected Internal Method Called periodically by the framework once the tool has been created. (Inherited from ArcGIS.Desktop.Framework.Contracts.PlugIn)
    Protected Method Sets the current sketch segment symbol back to the options defined in the application settings. This method must be called on the MCT. Use QueuedTask.Run.  
    Protected Method Sets the current sketch vertex symbols back to the options defined in the application settings. This method must be called on the MCT. Use QueuedTask.Run.  
    Protected Method Sets the current geometry of the sketch without finishing it.  
    Protected MethodOverloaded.  (Inherited from ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase)
    Protected Method Sets the segment sketching symbol information. This method must be called on the MCT. Use QueuedTask.Run.  
    Protected Method Sets the symbol for a vertex while sketching. This method must be called on the MCT. Use QueuedTask.Run.  
    Protected MethodOverloaded.   
    Protected MethodOverridden.  Occurs when a cursor is set on this tool. Forward the cursor to the inner tool.  
    Protected MethodOverloaded.   
    Top
    See Also