[]
        
(Showing Draft Content)

C1.WPF.DragDropEventArgs

DragDropEventArgs Class

Class that contains data for drag-and-drop events.

Inheritance
DragDropEventArgs
Namespace: C1.WPF
Assembly: C1.WPF.4.6.2.dll
Syntax
public class DragDropEventArgs : EventArgs

Constructors

Name Description
DragDropEventArgs(RoutedEventArgs, UIElement, UIElement, DragDropEffect, ScrollViewer)

Initializes a new instance of a DragDropEventArgs.

Properties

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.

Methods

Name Description
GetPosition(UIElement)

Gets the mouse coordinates relative to a given UIElement.