DragDropHelper.DoDragMove(WorkflowViewElement, Point) DragDropHelper.DoDragMove(WorkflowViewElement, Point) DragDropHelper.DoDragMove(WorkflowViewElement, Point) DragDropHelper.DoDragMove(WorkflowViewElement, Point) Method

Definition

Warnung

Diese API ist jetzt veraltet.

Ermöglicht es, dass ein Benutzeroberflächenelement bei gedrückter linker Maustaste über einen verfügbar gemachten Teil des Clientbereichs dieses Benutzeroberflächenelements gezogen wird.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.

public:
 static System::Windows::DragDropEffects DoDragMove(System::Activities::Presentation::WorkflowViewElement ^ draggedViewElement, System::Windows::Point referencePoint);
[System.Obsolete("This method does not support dragging multiple items. Use "public static IEnumerable<WorkflowViewElement> DoDragMove(IEnumerable<WorkflowViewElement> draggedViewElements, Point referencePoint)" instead.")]
public static System.Windows.DragDropEffects DoDragMove (System.Activities.Presentation.WorkflowViewElement draggedViewElement, System.Windows.Point referencePoint);
static member DoDragMove : System.Activities.Presentation.WorkflowViewElement * System.Windows.Point -> System.Windows.DragDropEffects
Public Shared Function DoDragMove (draggedViewElement As WorkflowViewElement, referencePoint As Point) As DragDropEffects

Parameter

draggedViewElement
WorkflowViewElement WorkflowViewElement WorkflowViewElement WorkflowViewElement

Das Benutzeroberflächenelement, für das der Vorgang ausgeführt wird.The UI element on which the operation happens.

referencePoint
Point Point Point Point

Die Position des Ziehpunkts.The location of the drag point.

Gibt zurück

Ein Wert aus der DragDropEffects-Enumeration, der den abschließenden Effekt darstellt, der während des Drag &amp; Drop-Vorgangs ausgeführt wurde.A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.

Gilt für: