DragSourceContext::GetInitialPrimaryShapeBounds Method (ElementGroupPrototype^)

 

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(
	ElementGroupPrototype^ elementGroupPrototype
)

Parameters

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

The ElementGroupPrototype where the DragSourceContext has been saved to.

Return to top
Show: