ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / PaneBase Class / OnKeyCommand Method

In This Topic
    OnKeyCommand Method
    In This Topic
    Called during OnKeyDown if when a register shortcut matches.
    Syntax
    protected internal virtual void OnKeyCommand( 
       string commandID
    )
    Protected Friend Overridable Sub OnKeyCommand( _
       ByVal commandID As String _
    ) 

    Parameters

    commandID
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also