DragSourceContext::GetInitialPrimaryShapeBounds Method (ElementGroup^)

 

Returns the bounds (in absolute world coordinates) of the primary shape in the ElementGroupPrototype.

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

public:
static RectangleD GetInitialPrimaryShapeBounds(
	ElementGroup^ elementGroup
)

Parameters

elementGroup
Type: Microsoft.VisualStudio.Modeling::ElementGroup^

The ElementGroup where the DragSourceContext has been saved to.

Return to top
Show: