ArcGIS Pro 2.6 API Reference Guide
OnDragOver Method (PaneBase)

ArcGIS.Desktop.Framework.Contracts Namespace > PaneBase Class : OnDragOver Method
The data being dragged over.
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 10, Windows 8.1, Windows 7

See Also

Reference

PaneBase Class
PaneBase Members
DropInfo Class
OnDrop Method
System.Windows.DragDropEffects