DragDropHelper.GetDroppedObjects Method (DependencyObject, DragEventArgs, EditingContext)

.NET Framework (current version)
 

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

Namespace:   System.Activities.Presentation
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public static IEnumerable<object> GetDroppedObjects(
	DependencyObject dropTarget,
	DragEventArgs e,
	EditingContext context
)

Parameters

dropTarget
Type: System.Windows.DependencyObject

The location for the drag.

e
Type: System.Windows.DragEventArgs

The drag event data.

context
Type: System.Activities.Presentation.EditingContext

The editing context.

Return Value

Type: System.Collections.Generic.IEnumerable<Object>

The objects that were dropped.

.NET Framework
Available since 4.5
Return to top
Show: