ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Tool Class / OnKeyDown Method
Provides data for the key events.
Version

OnKeyDown Method (Tool)
Occurs when a key is pressed and the tool is active.
Syntax
protected internal virtual void OnKeyDown( 
   KeyEventArgs k
)

Parameters

k
Provides data for the key events.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also