DragDropHelper.DoDragMove Method (WorkflowViewElement, Point)

.NET Framework (current version)
Note: This API is now obsolete.

Allows a UI element to be dragged by a mouse with its left button down over an exposed area of the UI element’s client area.

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

[ObsoleteAttribute("This method does not support dragging multiple items. Use \"public static IEnumerable<WorkflowViewElement> DoDragMove(IEnumerable<WorkflowViewElement> draggedViewElements, Point referencePoint)\" instead.")]
public static DragDropEffects DoDragMove(
	WorkflowViewElement draggedViewElement,
	Point referencePoint


Type: System.Activities.Presentation.WorkflowViewElement

The UI element on which the operation happens.

Type: System.Windows.Point

The location of the drag point.

Return Value

Type: System.Windows.DragDropEffects

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

.NET Framework
Available since 4.0
Return to top