Share via


ActionsPane.DoDragDrop Method

Begins a drag-and-drop operation.

Namespace:  Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

Syntax

'Declaration
Function DoDragDrop ( _
    data As Object, _
    allowedEffects As DragDropEffects _
) As DragDropEffects
DragDropEffects DoDragDrop(
    Object data,
    DragDropEffects allowedEffects
)

Parameters

Return Value

Type: System.Windows.Forms.DragDropEffects
A value that represents the final effect that was performed during the drag-and-drop operation.

Remarks

This method provides the same functionality as the Control.DoDragDrop method. For more information about using this method, see Control.DoDragDrop.

.NET Framework Security

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview