Share via


Diagram.NavigationRoot Property

Gets the root shape for the diagram.

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

Syntax

'Declaration
Public ReadOnly Property NavigationRoot As ShapeElement
public ShapeElement NavigationRoot { get; }
public:
property ShapeElement^ NavigationRoot {
    ShapeElement^ get ();
}
member NavigationRoot : ShapeElement with get
function get NavigationRoot () : ShapeElement

Property Value

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

Remarks

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.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace