ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Framework.DragDrop Namespace / DragDrop Class / GetIsDragSource Method
The UI element.

In This Topic
    GetIsDragSource Method
    In This Topic
    Returns true if the target is a drag source.
    Syntax
    public static bool GetIsDragSource( 
       UIElement target
    )
    Public Shared Function GetIsDragSource( _
       ByVal target As UIElement _
    ) As Boolean

    Parameters

    target
    The UI element.

    Return Value

    A bool indicating whether the target is a drag source or not.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also