DragDropHelper.GetSourceContainer Method (DragEventArgs)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Retrieves the source container for the UI element being dragged.
Namespace: System.Activities.Design
Assembly: System.Activities.Design (in System.Activities.Design.dll)
Syntax
'Declaration
Public Shared Function GetSourceContainer ( _
e As DragEventArgs _
) As ISourceContainer
'Usage
Dim e As DragEventArgs
Dim returnValue As ISourceContainer
returnValue = DragDropHelper.GetSourceContainer(e)
public static ISourceContainer GetSourceContainer(
DragEventArgs e
)
public:
static ISourceContainer^ GetSourceContainer(
DragEventArgs^ e
)
public static function GetSourceContainer(
e : DragEventArgs
) : ISourceContainer
static member GetSourceContainer :
e:DragEventArgs -> ISourceContainer
Parameters
- e
Type: System.Windows.DragEventArgs
Contains the drag event data.
Return Value
Type: System.Activities.Design.ISourceContainer
An ISourceContainer for the UI element being dragged.
.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