System.Web.UI.WebControls.SiteMapPath.ParentLevelsDisplayed Property

Gets or sets the number of levels of parent nodes the control displays, relative to the currently displayed node.

Syntax

[System.Web.UI.Themeable(false)]
[System.ComponentModel.DefaultValue(-1)]
public virtual int ParentLevelsDisplayed { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The SiteMapPath.ParentLevelsDisplayed property governs how many levels of parent nodes are displayed by the System.Web.UI.WebControls.SiteMapPath control above the current context node. By default, all parent and ancestor nodes above the current context node are displayed.

The value of this property is stored in view state.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

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