DragDropHelper.GetDroppedObjects 方法

定义

检索拖放操作中正在放置的对象。

public:
 static System::Collections::Generic::IEnumerable<System::Object ^> ^ GetDroppedObjects(System::Windows::DependencyObject ^ dropTarget, System::Windows::DragEventArgs ^ e, System::Activities::Presentation::EditingContext ^ context);
public static System.Collections.Generic.IEnumerable<object> GetDroppedObjects (System.Windows.DependencyObject dropTarget, System.Windows.DragEventArgs e, System.Activities.Presentation.EditingContext context);
static member GetDroppedObjects : System.Windows.DependencyObject * System.Windows.DragEventArgs * System.Activities.Presentation.EditingContext -> seq<obj>
Public Shared Function GetDroppedObjects (dropTarget As DependencyObject, e As DragEventArgs, context As EditingContext) As IEnumerable(Of Object)

参数

dropTarget
DependencyObject

拖动的位置。

e
DragEventArgs

拖动事件数据。

context
EditingContext

编辑上下文。

返回

被放置的对象。

适用于