System.Web.UI.WebControls.SiteMapNodeItemType Enumeration

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.

Syntax

public enum SiteMapNodeItemType

Remarks

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:

Each node is data-bound to an underlying System.Web.SiteMapNode, except nodes of the SiteMapNodeItemType.PathSeparator type.

Members

Member NameDescription
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.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0