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

拖动事件数据。

返回

拖动的模型项。

属性

适用于