This topic has not yet been rated - Rate this topic

Diagram.NavigationRoot Property

Gets the root shape for the diagram.

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

Property Value

Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The root shape for the diagram.

Typically, the root shape for the diagram is the diagram itself. If the diagram cannot be selected as the root shape, the first shape that can be selected in the diagram is returned.

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