DragDropHelper.GetDraggedModelItem(DragEventArgs) 方法

定義

警告

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);
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

參數

e
DragEventArgs

拖曳事件資料。

傳回

已拖曳的模型項目。

屬性

適用於