Redigera

Dela via


DragDropHelper.GetDroppedObjects Method

Definition

Retrieves the objects that are being dropped in a drag-and-drop operation.

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)

Parameters

dropTarget
DependencyObject

The location for the drag.

e
DragEventArgs

The drag event data.

context
EditingContext

The editing context.

Returns

The objects that were dropped.

Applies to