ShapeElement.ChooseParentShape Method
Selects a parent shape for a new child shape, typically this shape.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Parameters
- childShape
- Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The new child shape.
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElementThe parent shape for the child shape.
For more information, see FixUpChildShapes(ModelElement).
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.