Condividi tramite


DragDropHelper.DoDragMove(WorkflowViewElement, Point) Metodo

Definizione

Attenzione

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

Consente il trascinamento di un elemento dell'interfaccia utente tenendo premuto il pulsante sinistro del mouse su un'area esposta dell'area client dell'elemento dell'interfaccia.

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

Parametri

draggedViewElement
WorkflowViewElement

Elemento dell'interfaccia utente su cui si esegue l'operazione.

referencePoint
Point

Posizione del punto di trascinamento.

Restituisce

Valore ricavato dall'enumerazione DragDropEffects che rappresenta l'effetto finale ottenuto durante l'operazione di trascinamento.

Attributi

Si applica a