Freigeben über


DragSourceContext.Set Method

Adds drag source information to the ElementGroupPrototype's source context.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Sub Set ( _
    elementGroupPrototype As ElementGroupPrototype, _
    initialDragLocation As PointD, _
    ghostShapes As GhostShapeCollection _
)
public static void Set(
    ElementGroupPrototype elementGroupPrototype,
    PointD initialDragLocation,
    GhostShapeCollection ghostShapes
)
public:
static void Set(
    ElementGroupPrototype^ elementGroupPrototype, 
    PointD initialDragLocation, 
    GhostShapeCollection^ ghostShapes
)
static member Set : 
        elementGroupPrototype:ElementGroupPrototype * 
        initialDragLocation:PointD * 
        ghostShapes:GhostShapeCollection -> unit
public static function Set(
    elementGroupPrototype : ElementGroupPrototype, 
    initialDragLocation : PointD, 
    ghostShapes : GhostShapeCollection
)

Parameters

.NET Framework Security

See Also

Reference

DragSourceContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace