ASPxSiteMapControlBase.RootNodes Property
In This Article
Gets a collection of objects that represent the top-level nodes of the navigation structure for the site.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public virtual SiteMapNodeCollection RootNodes { get; }
#Property Value
Type | Description |
---|---|
Site |
A Site |
#Remarks
Use the RootNodes property to access a collection which contains the root nodes of the site’s navigation structure.
Note that if the ASPxSiteMapDataSource.ShowStartingNode property of the bound site map data source is set to true
, the collection obtained via the RootNodes property contains a single root node whose URL is specified by the ASPxSiteMapDataSource.StartingNodeUrl property.
See Also