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

In This Topic
    OnKeyDown Method (Pane)
    In This Topic
    Occurs when a key is pressed while focus is on this element.
    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 or higher.
    See Also