DragDropHelper.GetDraggedModelItem(DragEventArgs) Método

Definición

Precaución

This method does not support dragging multiple items. Use "public static IEnumerable<ModelItem> GetDraggedModelItems(DragEventArgs e)" instead.

Recupera el objeto que se arrastra en una operación de arrastrar y colocar.

public:
 static System::Activities::Presentation::Model::ModelItem ^ GetDraggedModelItem(System::Windows::DragEventArgs ^ e);
public static System.Activities.Presentation.Model.ModelItem GetDraggedModelItem (System.Windows.DragEventArgs e);
[System.Obsolete("This method does not support dragging multiple items. Use "public static IEnumerable<ModelItem> GetDraggedModelItems(DragEventArgs e)" instead.")]
public static System.Activities.Presentation.Model.ModelItem GetDraggedModelItem (System.Windows.DragEventArgs e);
static member GetDraggedModelItem : System.Windows.DragEventArgs -> System.Activities.Presentation.Model.ModelItem
[<System.Obsolete("This method does not support dragging multiple items. Use "public static IEnumerable<ModelItem> GetDraggedModelItems(DragEventArgs e)" instead.")>]
static member GetDraggedModelItem : System.Windows.DragEventArgs -> System.Activities.Presentation.Model.ModelItem
Public Shared Function GetDraggedModelItem (e As DragEventArgs) As ModelItem

Parámetros

e
DragEventArgs

Datos del evento de arrastre.

Devoluciones

Elemento de modelo que se arrastró.

Atributos

Se aplica a