ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / HandleKeyUpAsync Method
A MapViewKeyEventArgs that contains the event data.

In This Topic
    HandleKeyUpAsync Method (MapTool)
    In This Topic
    Occurs when the OnToolKeyUp event is handled.
    Syntax
    protected virtual Task HandleKeyUpAsync( 
       MapViewKeyEventArgs args
    )
    Protected Overridable Function HandleKeyUpAsync( _
       ByVal args As MapViewKeyEventArgs _
    ) As Task

    Parameters

    args
    A MapViewKeyEventArgs that contains the event data.

    Return Value

    A Task that represents a key up event.
    Remarks
    This method is intended to perform asynchronous operations associated with a key up event. It will be called if you override the OnToolKeyUp virtual method and set the handled property on the MapViewKeyEventArgs to true.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also