ArcGIS Pro 2.9 API Reference Guide
CurrentTool Property

ArcGIS.Desktop.Framework Namespace > FrameworkApplication Class : CurrentTool Property
Gets or sets the application's current tool. Only one tool is active at a time.
Syntax
public static string CurrentTool {get; set;}
Public Shared Property CurrentTool As String
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

FrameworkApplication Class
FrameworkApplication Members