ActionsPane.DoDragDrop Method (Object, DragDropEffects)

 

Begins a drag-and-drop operation.

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

DragDropEffects DoDragDrop(
	object data,
	DragDropEffects allowedEffects
)

Parameters

data
Type: System.Object

The data to drag.

allowedEffects
Type: System.Windows.Forms.DragDropEffects

One of the DragDropEffects values.

Return Value

Type: System.Windows.Forms.DragDropEffects

A value that represents the final effect that was performed during the drag-and-drop operation.

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

Return to top
Show: