DragSourceContext::Set Method (ElementGroupPrototype^, PointD, GhostShapeCollection^)

 

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)

public:
static void Set(
	ElementGroupPrototype^ elementGroupPrototype,
	PointD initialDragLocation,
	GhostShapeCollection^ ghostShapes
)

Parameters

elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling::ElementGroupPrototype^

The ElementGroupPrototype to add the information to.

initialDragLocation
Type: Microsoft.VisualStudio.Modeling.Diagrams::PointD

The initial location of the mouse in absolute world coordinates.

ghostShapes
Type: Microsoft.VisualStudio.Modeling.Diagrams::GhostShapeCollection^

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

Return to top
Show: