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

In This Topic
    OnKeyDown Method (Tool)
    In This Topic
    Occurs when a key is pressed and the tool is active.
    Syntax
    protected internal virtual void OnKeyDown( 
       KeyEventArgs k
    )
    Protected Friend Overridable Sub OnKeyDown( _
       ByVal k As KeyEventArgs _
    ) 

    Parameters

    k
    Provides data for the key events.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also