Click or drag to resize
KaxSiteMapNodes Property
Gets a KaxSiteMapNodeCollection object that contains the root nodes of the current KaxSiteMap control.

Namespace: Kettic.AspNet.Controls
Assembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntax
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
public KaxSiteMapNodeCollection Nodes { get; }

Property Value

Type: KaxSiteMapNodeCollection
A KaxSiteMapNodeCollection that contains the root nodes of the current KaxSiteMap control. By default the collection is empty (KaxSiteMap has no children).

Implements

IKaxSiteMapNodeContainerNodes
Remarks
Use the nodes property to access the root nodes of the KaxSiteMap control. You can also use the nodes property to manage the root nodes - you can add, remove or modify nodes.
Examples
The following example demonstrates how to programmatically modify the properties of a root node.
KaxSiteMap1.Nodes[0].Text = "Example";
KaxSiteMap1.Nodes[0].NavigateUrl = "http://www.example.com";
See Also