This topic has not yet been rated - Rate this topic

ShapeElement.ChooseParentShape Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.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(ModelElement).

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ