ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / PaneBase Class / OnDragOver Method
The data being dragged over.

In This Topic
    OnDragOver Method (PaneBase)
    In This Topic
    Invoked when an object is dragged over the window. Implement this method to add class handling for this event.
    Syntax
    public virtual void OnDragOver( 
       DropInfo dropInfo
    )
    Public Overridable Sub OnDragOver( _
       ByVal dropInfo As DropInfo _
    ) 

    Parameters

    dropInfo
    The data being dragged over.
    Remarks
    OnDragOver is automatically called by the framework whenever an object is dragged onto a Pane or DockPane that is registered as a drop target (DAML isDropTarget). If the pane wants to allow the drop, it must set the ArcGIS.Desktop.Framework.DragDrop.DropInfo.Effects accordingly.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also