ComponentOne Basic Library for WPF and Silverlight
DragDropEventArgs Constructor


C1.Silverlight Namespace > DragDropEventArgs Class : DragDropEventArgs Constructor
System.Windows.RoutedEventArgs that contains mouse state information.
System.Windows.UIElement acting as a drag source.
System.Windows.UIElement acting as a drop target.
DragDropEffect that specifies the action to be performed when the drag and drop process is completed.
ScrollViewer that scrolls to show the target location.
Initializes a new instance of a DragDropEventArgs.
Syntax
'Declaration
 
Public Function New( _
   ByVal e As System.Windows.RoutedEventArgs, _
   ByVal source As System.Windows.UIElement, _
   ByVal target As System.Windows.UIElement, _
   ByVal effect As DragDropEffect, _
   ByVal scrollViewer 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 e,
   System.Windows.UIElement source,
   System.Windows.UIElement target,
   DragDropEffect effect,
   System.Windows.Controls.ScrollViewer 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

Reference

DragDropEventArgs Class
DragDropEventArgs Members