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

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

    Parameters

    args
    A LayoutViewMouseButtonEventArgs that contains the event data.

    Return Value

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

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also