[]
        
(Showing Draft Content)

C1.WPF.DragDropEventArgs.-ctor

DragDropEventArgs Constructor

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

Initializes a new instance of a DragDropEventArgs.

Declaration
public DragDropEventArgs(RoutedEventArgs e, UIElement source, UIElement target, DragDropEffect effect, ScrollViewer scrollViewer)
Parameters
Type Name Description
RoutedEventArgs e

RoutedEventArgs that contains mouse state information.

UIElement source

UIElement acting as a drag source.

UIElement target

UIElement acting as a drop target.

DragDropEffect effect
<xref href="C1.WPF.DragDropEffect" data-throw-if-not-resolved="false"></xref> that specifies the action to be performed

when the drag and drop process is completed.

ScrollViewer scrollViewer

ScrollViewer that scrolls to show the target location.