DragDropHelper.GetDroppedObject(DependencyObject, DragEventArgs, EditingContext) Methode

Definition

Warnung

Diese API ist jetzt veraltet.

Ruft das Objekt ab, das bei einem Drag & Drop-Vorgang abgelegt wird.Retrieves the object that is being dropped in a drag-and-drop operation.

public:
 static System::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
Public Shared Function GetDroppedObject (dropTarget As DependencyObject, e As DragEventArgs, context As EditingContext) As Object

Parameter

dropTarget
DependencyObject

Die Position des Ziehvorgangs.The location for the drag.

e
DragEventArgs

Die Daten zum Ziehereignis.The drag event data.

context
EditingContext

Der Bearbeitungskontext.The editing context.

Gibt zurück

Das Objekt, das abgelegt wurde.The object that was dropped.

Attribute

Gilt für: