Initializes a new instance of a
DragDropEventArgs.
Syntax
'Declaration
Public Function New( _
ByVal As System.Windows.RoutedEventArgs, _
ByVal As System.Windows.UIElement, _
ByVal As System.Windows.UIElement, _
ByVal As DragDropEffect, _
ByVal As System.Windows.Controls.ScrollViewer _
)
'Usage
Dim e As System.Windows.RoutedEventArgs
Dim source As System.Windows.UIElement
Dim target As System.Windows.UIElement
Dim effect As DragDropEffect
Dim scrollViewer As System.Windows.Controls.ScrollViewer
Dim instance As New DragDropEventArgs(e, source, target, effect, scrollViewer)
public DragDropEventArgs(
System.Windows.RoutedEventArgs ,
System.Windows.UIElement ,
System.Windows.UIElement ,
DragDropEffect ,
System.Windows.Controls.ScrollViewer
)
Parameters
- e
- System.Windows.RoutedEventArgs that contains mouse state information.
- source
- System.Windows.UIElement acting as a drag source.
- target
- System.Windows.UIElement acting as a drop target.
- effect
- DragDropEffect that specifies the action to be performed when the drag and drop process is completed.
- scrollViewer
- ScrollViewer that scrolls to show the target location.
See Also