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)

'Declaration
<ObsoleteAttribute("This method does not support dragging multiple items. Use "public static IEnumerable<WorkflowViewElement> DoDragMove(IEnumerable<WorkflowViewElement> draggedViewElements, Point referencePoint)" instead.")> _
Public Shared Function DoDragMove ( _
	draggedViewElement As WorkflowViewElement, _
	referencePoint As Point _
) As DragDropEffects

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.5.2
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft