Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class NavigationNodeCollection : List<NavigationNode>, IList<NavigationNode>, ICollection<NavigationNode>, IList, ICollection, IReadOnlyList<NavigationNode>, IReadOnlyCollection<NavigationNode>, IEnumerable<NavigationNode>, IEnumerable
Inheritance: objectList<NavigationNode>NavigationNodeCollection
Implements:
Inherited Members
Constructors
public NavigationNodeCollection()
public NavigationNodeCollection(RadNavigation control, INavigationNodeContainer nodesContainer)
Properties
Gets and sets NavigationNodeCollection parent container.
public INavigationNodeContainer NodesContainer { get; set; }
Methods
Add a new NavigationNode to the NavigationNodeCollection if the collection does not contains it.
Add an IEnumerable of NavigationNode to the NavigationNodeCollection.
public void AddRange(IEnumerable<NavigationNode> collection)
IEnumerable ofNavigationNode
Remove all NavigationNode in the collection.
public void Clear()
Insert a collection of NavigationNode to a specified index in the NavigationNodeCollection.
public void InsertRange(int index, IEnumerable<NavigationNode> collection)
Integer the position to insert at
collectionIEnumerable<NavigationNode>IEnumerable of NavigationNode
Remove a NavigationNode from the NavigationNodeCollection if the collection contains it.
Remove all NavigationNode in the collection matching the passed condition.
public void RemoveAll(Predicate<NavigationNode> match)
Predicate to match NavigationNode
Remove the NavigationNode on the specified position in the collection.
Removes a range of NavigationNode in the collection.