ArcGIS Pro 2.7 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 10, Windows 8.1

See Also

Reference

FrameworkApplication Class
FrameworkApplication Members