This topic has not yet been rated - Rate this topic

ShapeElement.Diagram Property

Gets the diagram to which the shape belongs.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
public Diagram Diagram { get; }

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.Diagram
The diagram to which the shape belongs; otherwise, null if the shape does not belong to a diagram.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ