ShapeElement::Diagram Property

 

Gets the diagram to which the shape belongs.

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

public:
property Diagram^ 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.

Return to top
Show: