Skip to main content
.NET Framework 4.5.2+

IModelRootNavigationItems Members

The NavigationItems node specifies the navigation structure used by the ShowNavigationItem Action.

Properties

Name Description
AllItems This property is intended for internal use.
Application Provides access to the Application Model‘s root node. Inherited from IModelNode.
DefaultChildItemsDisplayStyle Specifies the default navbar group style when the IModelRootNavigationItems.NavigationStyle property is set to NavigationStyle.NavBar.
DefaultLeafImageName Specifies the name of the image displayed by default for the navigation items which do not have child navigation items.
DefaultParentImageName Specifies the name of the image displayed by default for the navigation items which have child navigation items.
Index Specifies the order index by which nodes are arranged. Inherited from IModelNode.
Items Provides access to the child Items node.
NavigationStyle Specifies the control to be used as the navigation control.
NodeCount Gets the number of child nodes. Inherited from IModelNode.
Parent Provides access to the parent node. Inherited from IModelNode.
Root For internal use only. Inherited from IModelNode.
ShowImages Specifies whether the navigation control shows images for navigation items in WinForms and ASP .NET Core Blazor applications, as well as ASP.NET Web Forms applications with the new web UI.
StartupNavigationItem Specifies a navigation item which is activated when the application is loaded. No View is shown at startup when this property value is not specified.

Methods

Name Description
AddNode<NodeType>() Adds a new child node of a specific type. Inherited from IModelNode.
AddNode<NodeType>(String) Adds a new child node of a specific type with a specific identifier. Inherited from IModelNode.
ClearValue(String) Resets the node’s property value to the value specified in the previous Application Model layer. Inherited from IModelNode.
GetNode(Int32) Gets the child node with a specific index. Inherited from IModelNode.
GetNode(String) Gets the child node with a specific identifier. Inherited from IModelNode.
GetValue<ValueType>(String) Returns the value of the node’s specified property. Inherited from IModelNode.
HasValue(String) Indicates whether the node’s property has a value assigned. Inherited from IModelNode.
Remove() Removes the current node. Inherited from IModelNode.
SetValue<ValueType>(String, ValueType) Changes the value of the node’s specified property. Inherited from IModelNode.
See Also