Version 24.2 (latest)

DragSource Class Events

For a list of all members of this type, see DragSource members.

Public Events
 NameDescription
Public EventDragCancelOccurs when drag-and-drop operation is canceled when DragDropCancelEventArgs.Cancel is set to true in some of event handlers for DragStart or DragEnter events or when DragDropManager.EndDrag method is called with dragCancel set to true.  
Public EventDragEndOccurs at the very end of the drag-and-drop operation. This is the last event that is raised while drag-and-drop is performed.  
Public EventDragEnterOccurs when mouse pointer enter into UIElement marked as drop target while drag-and-drop is in progress. This event is cancelable.  
Public EventDragLeaveOccurs when mouse pointer leaves the boundaries of the UIElement marked as drop target while drag-and-drop operation is in progress.  
Public EventDragOverOccurs when mouse pointer is moving over UIElement marked as drop target while drag-and-drop operation is in progress. This event occurs after DragEnter event is raised.  
Public EventDragStartOccurs when UIElement marked as draggable initiate drag operation. This event is cancelable.  
Public EventDropOccurs 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.  
See Also