System.Web.UI.WebControls Namespace SiteMapPath Class
.NET Framework version 2.0
Sets or retrieves the number of levels of parent nodes a SiteMapPath control displays.
Inline |
<asp:sitemappath parentlevelsdisplayed = intValue ... > |
Script |
SiteMapPath.ParentLevelsDisplayed [ = intValue ] |
intValue |
An integer that specifies the number of levels of parent nodes displayed, relative to the current node./td> |
The property is read/write with a default value of -1, which indicates no restriction on the number of parent levels that the control displays.
Use the ParentLevelsDisplayed property to specify or determine the number of parent nodes a SiteMapPath control displays, relative to the current node.
If not specified, the SiteMapPath displays all parent nodes above the current context node by default.
SiteMapPath Members