Bagikan melalui


DragDropHelper.DoDragMove(WorkflowViewElement, Point) Metode

Definisi

Perhatian

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

Memungkinkan elemen UI diseret oleh mouse dengan tombol kiri ke bawah di area yang terbuka dari area klien elemen 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

Parameter

draggedViewElement
WorkflowViewElement

Elemen UI tempat operasi terjadi.

referencePoint
Point

Lokasi titik seret.

Mengembalikan

Nilai dari DragDropEffects enumerasi yang mewakili efek akhir yang dilakukan selama operasi seret dan letakkan.

Atribut

Berlaku untuk