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
'Declaration
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.