System.Web.UI.WebControls.PathDirection Enumeration

Indicates the hierarchical order in which navigation nodes are rendered for site-navigation controls.

Syntax

public enum PathDirection

Remarks

The System.Web.UI.WebControls.PathDirection enumeration is used by the System.Web.UI.WebControls.SiteMapPath control to specify the ordering used to render site map nodes. If the SiteMapPath.PathDirection property is set to PathDirection.RootToCurrent, the navigation path is displayed in the most common way, from the top-most node to the current node, from left to right. If the SiteMapPath.PathDirection is set to PathDirection.CurrentToRoot, the navigation path is displayed from the current node to the top-most node, from left to right.

Members

Member NameDescription
CurrentToRoot

Nodes are rendered in a hierarchical order from the current node to the top-most node, from left to right.

RootToCurrent

Nodes are rendered in a hierarchical order from the top-most node to the current node, from left to right.

Requirements

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