DragDropHelper.DoDragMove(WorkflowViewElement, Point) 方法

定义

注意

This method does not support dragging multiple items. Use "public static IEnumerable<WorkflowViewElement> DoDragMove(IEnumerable<WorkflowViewElement> draggedViewElements, Point referencePoint)" instead.

能够在 UI 元素工作区的暴露区域上方按住鼠标左键拖动 UI 元素。

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 元素。

referencePoint
Point

拖动点的位置。

返回

DragDropEffects 枚举的值,它表示在拖放操作期间执行的最终效果。

属性

适用于