This topic has not yet been rated - Rate this topic

ShapeElement.ParentLink Property

Gets the relationship instance from the shape to the parent shape.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
protected ElementLink ParentLink { get; }

You can usually use ParentShape directly. To delete the link, assign null to ParentShape.

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