Export (0) Print
Expand All

DragDropHelper.DoDragMove Method

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
)

Parameters

draggedViewElement
Type: System.Activities.Presentation.WorkflowViewElement

The UI element on which the operation happens.

referencePoint
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

Supported in: 4
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft