共用方式為


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

編輯內容。

傳回

已置放的物件。

適用於