DragDropHelper.GetDroppedObjects Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The drag event data.
- context
- EditingContext
The editing context.
Returns
The objects that were dropped.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.