DragDropHelper.DoDragMove(WorkflowViewElement, Point) 方法

定義

警告

This method does not support dragging multiple items. Use

允許按下滑鼠左鍵時,將 UI 項目拖曳至該 UI 項目用戶端區域的公開區域上方。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);
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
[<System.Obsolete("This method does not support dragging multiple items. Use "public static IEnumerable<WorkflowViewElement> DoDragMove(IEnumerable<WorkflowViewElement> draggedViewElements, Point referencePoint)" instead.")>]
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

參數

draggedViewElement
WorkflowViewElement

發生作業的 UI 項目。The UI element on which the operation happens.

referencePoint
Point

拖曳點的位置。The location of the drag point.

傳回

DragDropEffects

源自 DragDropEffects 列舉的值,表示在拖放作業時執行最後的結果。A value from the DragDropEffects enumeration that represents the final effect that was performed during the drag-and-drop operation.

屬性

適用於