Version

Drop Event

Occurs when mouse is released while drag-and-drop operation is in progress, mouse pointer is over UIElement marked as drop target and drag channels of the drag source matches the drop channels of the drop target.
Syntax
'Declaration
 
Public Event Drop As EventHandler(Of DropEventArgs)
public event EventHandler<DropEventArgs> Drop
Event Data

The event handler receives an argument of type DropEventArgs containing data related to this event. The following DropEventArgs properties provide information specific to this event.

PropertyDescription
CopyCursorTemplate (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the data template that will be used as cursor when coping operation is performed during dragging.
CustomMouseHolder (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the System.Windows.UIElement suggested by consumer of the event as the element which has to capture the mouse during the drag-drop.
Data (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the instance of the object that represents the dragged data.
DragSource (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets the UIElement that initiates drag operation.
DragTemplate (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the data template that will be applied to dragged element representation.
DropNotAllowedCursorTemplate (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the data template that will be used as cursor when drag operation is performed but drop dragged item is not over appropriate target.
DropTarget (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets the instance of the object marked as drop target.
DropTargetElements Gets the collection of visual childs of drop target over which the dragged item is dropped.
MoveCursorTemplate (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the data template that will be used as cursor when item is draged over appropriate drop target.
OperationType (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets or sets the type of intended action during drag-and-drop operation. Setting this property will enforce the applying of related cursor.
OriginalDragSource (Inherited from Infragistics.DragDrop.DragDropEventArgs)Gets the original reporting source as determined by pure hit testing.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also