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

In This Topic
    IsSketchTool Property
    In This Topic
    Gets or sets whether the MapTool's default behavior of a left click should be to create a sketch.
    Syntax
    protected bool IsSketchTool {get; set;}
    Protected Property IsSketchTool As Boolean
    Remarks
    When setting this property to true, set the SketchOutputMode and SketchType properties which configure the sketch geometry. Override the OnSketchCompleteAsync virtual method to get the geometry created from the sketch. This geometry can be used to create a selection, identify features, and create or modify features.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also