DragDropHelper.GetDraggedModelItem 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 dragged in a drag-and-drop operation.
Namespace: System.Activities.Design
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Shared Function GetDraggedModelItem ( _
e As DragEventArgs _
) As ModelItem
'Usage
Dim e As DragEventArgs
Dim returnValue As ModelItem
returnValue = DragDropHelper.GetDraggedModelItem(e)
public static ModelItem GetDraggedModelItem(
DragEventArgs e
)
public:
static ModelItem^ GetDraggedModelItem(
DragEventArgs^ e
)
public static function GetDraggedModelItem(
e : DragEventArgs
) : ModelItem
static member GetDraggedModelItem :
e:DragEventArgs -> ModelItem
Parameters
- e
Type: System.Windows.DragEventArgs
Contains the drag event data.
Return Value
Type: System.Activities.Design.Model.ModelItem
Returns ModelItem.
.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