ArcGIS Pro 3.7 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 Overridable Sub OnDragOver( _
       ByVal dropInfo As DropInfo _
    ) 
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also