Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1DragDropManager Class / DoDragDrop Method
DragDropEffect supported by the operation.

In This Topic
    DoDragDrop Method (C1DragDropManager)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Sub DoDragDrop( _
       ByVal source As UIElement, _
       ByVal e As MouseEventArgs, _
       ByVal effect As DragDropEffect _
    ) 
    public void DoDragDrop( 
       UIElement source,
       MouseEventArgs e,
       DragDropEffect effect
    )

    Parameters

    source
    e
    effect
    DragDropEffect supported by the operation.
    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 System.Windows.Input.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