NodeShape.ChooseRelationship Method (ShapeElement)

 

Called by FixUpChildShapes() to get the relationship to create between the child shape and its parent shape.

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

protected override ShapeElement.RelationshipType ChooseRelationship(
	ShapeElement childShape
)

Parameters

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

The child shape.

Return Value

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

The relationship to create between the child shape and its parent shape.

Return to top
Show: