Skip to main content
Tab

ASPxSiteMapControlBase.RootNodes Property

Gets a collection of objects that represent the top-level nodes of the navigation structure for the site.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public virtual SiteMapNodeCollection RootNodes { get; }

Property Value

Type Description
SiteMapNodeCollection

A SiteMapNodeCollection object representing a collection of the root nodes.

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