DragDropHelper.GetDroppedObject Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves the object that is being dropped in a drag-and-drop operation.
Namespace: System.Activities.Design
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Shared Function GetDroppedObject ( _
dropTarget As DependencyObject, _
e As DragEventArgs, _
context As EditingContext _
) As Object
'Usage
Dim dropTarget As DependencyObject
Dim e As DragEventArgs
Dim context As EditingContext
Dim returnValue As Object
returnValue = DragDropHelper.GetDroppedObject(dropTarget, _
e, context)
public static Object GetDroppedObject(
DependencyObject dropTarget,
DragEventArgs e,
EditingContext context
)
public:
static Object^ GetDroppedObject(
DependencyObject^ dropTarget,
DragEventArgs^ e,
EditingContext^ context
)
public static function GetDroppedObject(
dropTarget : DependencyObject,
e : DragEventArgs,
context : EditingContext
) : Object
static member GetDroppedObject :
dropTarget:DependencyObject *
e:DragEventArgs *
context:EditingContext -> Object
Parameters
- dropTarget
Type: System.Windows.DependencyObject
The location for the drag.
- e
Type: System.Windows.DragEventArgs
Contains the drag event data.
- context
Type: System.Activities.Design.EditingContext
The editing context.
Return Value
Type: System.Object
Returns Object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 4