Compartilhar via


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)

Syntax

'Declaração
Public ReadOnly Property NavigationRoot As ShapeElement
    Get
public ShapeElement NavigationRoot { get; }
public:
property ShapeElement^ NavigationRoot {
    ShapeElement^ get ();
}
member NavigationRoot : ShapeElement
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