Partager via


ShapeElement.RelationshipType Enumeration

Defines the type of parent-child relationships allowed by the

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

Syntax

'Declaration
Public Enumeration RelationshipType
public enum RelationshipType
public enum class RelationshipType
type RelationshipType
public enum RelationshipType

Members

Member name Description
Nested A relationship type characterized by the child ShapeElement being constrained to the bounds of the parent ShapeElement. The child shape will maintain its relative position from the parent shape as the parent shape moves.
Relative A relationship type characterized by the child ShapeElement being unconstrained by the parent ShapeElement's bounds. The child shape will maintain its relative position from the parent shape as the parent shape moves.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace