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

In This Topic
    OnToolMouseDown Method (LayoutTool)
    In This Topic
    Occurs when a mouse button is pressed on the view.
    Syntax
    protected virtual void OnToolMouseDown( 
       LayoutViewMouseButtonEventArgs args
    )
    Protected Overridable Sub OnToolMouseDown( _
       ByVal args As LayoutViewMouseButtonEventArgs _
    ) 

    Parameters

    args
    A LayoutViewMouseButtonEventArgs that contains the event data.
    Remarks
    This method is intended to perform synchronous operations associated with a mouse down event. To perform any asynchronous operations set the handled property on the LayoutViewMouseButtonEventArgs to true and override the HandleMouseDownAsync virtual method.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also