[]
Class that contains data for drag-and-drop events.
public class DragDropEventArgs : EventArgs
Name | Description |
---|---|
DragDropEventArgs(RoutedEventArgs, UIElement, UIElement, DragDropEffect, ScrollViewer) | Initializes a new instance of a DragDropEventArgs. |
Name | Description |
---|---|
DragSource | Gets the UIElement that is acting as a drag source. |
DropTarget | Gets the 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. |
Name | Description |
---|---|
GetPosition(UIElement) | Gets the mouse coordinates relative to a given UIElement. |