ShapeElement::ChooseParentShape Method (ShapeElement^)

 

Selects a parent shape for a new child shape, typically this shape.

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

public:
virtual ShapeElement^ ChooseParentShape(
	ShapeElement^ childShape
)

Parameters

childShape
Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The new child shape.

Return Value

Type: Microsoft.VisualStudio.Modeling.Diagrams::ShapeElement^

The parent shape for the child shape.

For more information, see FixUpChildShapes.

Return to top
Show: