DragDropHelper.GetDroppedObject メソッド

定義

注意事項

This method does not support dropping multiple items. Use "public static IEnumerable<object> GetDroppedObjects(DependencyObject dropTarget, DragEventArgs e, EditingContext context)" instead.

ドラッグ アンド ドロップ操作でドロップされるオブジェクトを取得します。

public:
 static System::Object ^ GetDroppedObject(System::Windows::DependencyObject ^ dropTarget, System::Windows::DragEventArgs ^ e, System::Activities::Presentation::EditingContext ^ context);
public static object GetDroppedObject (System.Windows.DependencyObject dropTarget, System.Windows.DragEventArgs e, System.Activities.Presentation.EditingContext context);
[System.Obsolete("This method does not support dropping multiple items. Use "public static IEnumerable<object> GetDroppedObjects(DependencyObject dropTarget, DragEventArgs e, EditingContext context)" instead.")]
public static object GetDroppedObject (System.Windows.DependencyObject dropTarget, System.Windows.DragEventArgs e, System.Activities.Presentation.EditingContext context);
static member GetDroppedObject : System.Windows.DependencyObject * System.Windows.DragEventArgs * System.Activities.Presentation.EditingContext -> obj
[<System.Obsolete("This method does not support dropping multiple items. Use "public static IEnumerable<object> GetDroppedObjects(DependencyObject dropTarget, DragEventArgs e, EditingContext context)" instead.")>]
static member GetDroppedObject : System.Windows.DependencyObject * System.Windows.DragEventArgs * System.Activities.Presentation.EditingContext -> obj
Public Shared Function GetDroppedObject (dropTarget As DependencyObject, e As DragEventArgs, context As EditingContext) As Object

パラメーター

dropTarget
DependencyObject

ドラッグの場所。

e
DragEventArgs

ドラッグ イベントのデータ。

context
EditingContext

編集コンテキスト。

戻り値

ドロップされたオブジェクト。

属性

適用対象