DragDropHelper.GetDraggedModelItem(DragEventArgs) DragDropHelper.GetDraggedModelItem(DragEventArgs) DragDropHelper.GetDraggedModelItem(DragEventArgs) DragDropHelper.GetDraggedModelItem(DragEventArgs) Method

Definition

Warning

This API is now obsolete.

Retrieves the object that is being dragged in a drag-and-drop operation.

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
Public Shared Function GetDraggedModelItem (e As DragEventArgs) As ModelItem

Parameters

Returns

The model item that was dragged.

Applies to