ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Layouts Namespace / LayoutTool Class / HandleKeyUpAsync Method
A LayoutViewKeyEventArgs that contains the event data.

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

    Parameters

    args
    A LayoutViewKeyEventArgs 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 LayoutViewKeyEventArgs to true.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also