Share via


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

Return Value

Type: System.Activities.Design.ISourceContainer
An ISourceContainer for the UI element being dragged.

.NET Framework Security

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

See Also

Reference

DragDropHelper Class

DragDropHelper Members

GetSourceContainer Overload

System.Activities.Design Namespace