ShapeElement.RelationshipType Enumeration
Defines the type of parent-child relationships allowed by the
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣言
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. |