C1.WPF Namespace > C1DragDropManager Class : DragDrop Event |
'Declaration
Public Event DragDrop As DragDropEventHandler
'Usage
Dim instance As C1DragDropManager Dim handler As DragDropEventHandler AddHandler instance.DragDrop, handler
public event DragDropEventHandler DragDrop
public: event DragDropEventHandler^ DragDrop
The event handler receives an argument of type DragDropEventArgs containing data related to this event. The following DragDropEventArgs properties provide information specific to this event.
Property | Description |
---|---|
DragSource | Gets the System.Windows.UIElement that is acting as a drag source. |
DropTarget | Gets the System.Windows.UIElement that is acting as a drop target. |
Effect | Gets or sets the DragDropEffect that will be applied when the user drops the DragSource element into the DropTarget element. |
ScrollViewer | Gets or sets the ScrollViewer that will scroll automatically during the drag drop operation when the mouse is near its edge. |
Target Platforms: Windows 7, 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