ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Framework.DragDrop Namespace / DragDrop Class / SetDragHandler Method
The UI element.
The drag handler.

In This Topic
    SetDragHandler Method
    In This Topic
    Connects a drag handler with a UI element.
    Syntax
    public static void SetDragHandler( 
       UIElement target,
       IDragSource value
    )
    Public Shared Sub SetDragHandler( _
       ByVal target As UIElement, _
       ByVal value As IDragSource _
    ) 

    Parameters

    target
    The UI element.
    value
    The drag handler.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also