Export (0) Print
Expand All
Expand Minimize

Diagram.GetCompliantGroupBounds Method

Updates the collection of ghost shapes so that it compiles with the source shape's group bounds rules.

Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in microsoft.visualstudio.modeling.diagrams.dll)

public virtual void GetCompliantGroupBounds (
	ShapeElement targetShape,
	GhostShapeCollection ghostShapes,
	PointD proposedLocationDelta
)
public void GetCompliantGroupBounds (
	ShapeElement targetShape, 
	GhostShapeCollection ghostShapes, 
	PointD proposedLocationDelta
)
public function GetCompliantGroupBounds (
	targetShape : ShapeElement, 
	ghostShapes : GhostShapeCollection, 
	proposedLocationDelta : PointD
)

Parameters

targetShape

The parent shape, or a null reference (Nothing in Visual Basic) if its child shapes are not being assigned to it, but just repositioned on the diagram.

ghostShapes

A collection of ghost shapes.

proposedLocationDelta

The delta for a ghost shape.

If there are no group bounds rules for a shape, the rules for the diagram is used.

Ghost shapes represent the parent shapes at their original location in the diagram.

Community Additions

ADD
Show:
© 2014 Microsoft