The System.Web.UI.WebControls.SiteMapNodeItemType enumeration is used by the System.Web.UI.WebControls.SiteMapPath control to identify the type of a System.Web.UI.WebControls.SiteMapNodeItem node within a node hierarchy.
The System.Web.UI.WebControls.SiteMapPath control manages its site navigation information as a collection of System.Web.UI.WebControls.SiteMapNodeItem objects. System.Web.UI.WebControls.SiteMapNodeItem objects represent functionally different types of System.Web.SiteMapNode nodes. Accordingly, they are managed by the System.Web.UI.WebControls.SiteMapPath control. The following list describes the types of nodes available:
One node that represent the currently viewed page.
One node that is the top node of the site navigation hierarchy.
Zero or more nodes between the top node and the current node (parent nodes).
Zero or more nodes that represent site navigation path separators.
Each node is data-bound to an underlying System.Web.SiteMapNode, except nodes of the SiteMapNodeItemType.PathSeparator type.
Member Name | Description |
---|---|
Current |
The currently viewed page in the site navigation path. |
Parent |
A parent node of the currently viewed page in the site navigation path. A parent node is any node that is found between the root node and the current node in the navigation hierarchy. |
PathSeparator |
A site map navigation path separator. The default separator for the System.Web.UI.WebControls.SiteMapPath control is the ">" character. |
Root |
The top node of the site navigation hierarchy. There can be only one root node. |