Bagikan melalui


DragDropHelper.GetDraggedModelItem(DragEventArgs) Metode

Definisi

Perhatian

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

Mengambil objek yang sedang diseret dalam operasi seret dan letakkan.

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

Parameter

e
DragEventArgs

Seret data peristiwa.

Mengembalikan

Item model yang diseret.

Atribut

Berlaku untuk