Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.dll)

Syntax

C#
public void DoDragDrop(
	UIElement source,
	MouseEventArgs e,
	DragDropEffect effect
)
Visual Basic
Public Sub DoDragDrop ( _
	source As UIElement, _
	e As MouseEventArgs, _
	effect As DragDropEffect _
)

Remarks

The e is not strictly required, but is usually available since drag drop operations are initiated by mouse actions. If you don't have a MouseEventArgs to provide, pass null instead.

The method causes the drag operation to start, then returns immediately. The caller is responsible for monitoring and completing the operation using the DragStart, DragEnter, DragOver, and DragDrop events.

See Also