DragDropHelper.DoDragMove Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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.Design
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Shared Function DoDragMove ( _
draggedViewElement As WorkflowViewElement, _
referencePoint As Point _
) As DragDropEffects
'Usage
Dim draggedViewElement As WorkflowViewElement
Dim referencePoint As Point
Dim returnValue As DragDropEffects
returnValue = DragDropHelper.DoDragMove(draggedViewElement, _
referencePoint)
public static DragDropEffects DoDragMove(
WorkflowViewElement draggedViewElement,
Point referencePoint
)
public:
static DragDropEffects DoDragMove(
WorkflowViewElement^ draggedViewElement,
Point referencePoint
)
public static function DoDragMove(
draggedViewElement : WorkflowViewElement,
referencePoint : Point
) : DragDropEffects
static member DoDragMove :
draggedViewElement:WorkflowViewElement *
referencePoint:Point -> DragDropEffects
Parameters
- draggedViewElement
Type: System.Activities.Design.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 Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4