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

    OnDragOver Method (PaneBase)
    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
    )

    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.0 or higher.
    See Also