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.v24.2.dll
Declaration
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