Share via


DragSourceContext.Set Method

Definition

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

public:
 static void Set(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype, Microsoft::VisualStudio::Modeling::Diagrams::PointD initialDragLocation, Microsoft::VisualStudio::Modeling::Diagrams::GhostShapeCollection ^ ghostShapes);
public static void Set (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype, Microsoft.VisualStudio.Modeling.Diagrams.PointD initialDragLocation, Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection ghostShapes);
static member Set : Microsoft.VisualStudio.Modeling.ElementGroupPrototype * Microsoft.VisualStudio.Modeling.Diagrams.PointD * Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection -> unit
Public Shared Sub Set (elementGroupPrototype As ElementGroupPrototype, initialDragLocation As PointD, ghostShapes As GhostShapeCollection)

Parameters

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype to add the information to.

initialDragLocation
PointD

The initial location of the mouse in absolute world coordinates.

ghostShapes
GhostShapeCollection

A collection of ghost shapes that represents all the shapes in the ElementGroupPrototype.

Applies to