Tab
A newer version of this page is available. Switch to the current version.

TreeViewNodeCollection Methods

A collection of nodes within the ASPxTreeView control.
Name Description
Add() Adds a new node with default settings to the collection.
Add(T) Adds the specified element to the end of the collection. Inherited from Collection<T>.
Add(T[]) Adds the specified elements to the end of the collection. Inherited from Collection<T>.
Add(String) Adds a new node to the collection and specifies the node's display text.
Add(String, String) Adds a new node to the collection and specifies the node's display text and name.
Add(String, String, String) Adds a new node to the collection and specifies the node's display text, name and associated image.
Add(String, String, String, String) Adds a new node to the collection and specifies the node's display text, name, associated image and URL.
Add(String, String, String, String, String) Adds a new node with the specified settings to the collection.
AddRange(IEnumerable<T>) Adds a collection of items to the end of the collection. Inherited from Collection<T>.
Assign(IAssignableCollection) Copies the items from the specified IAssignableCollection-supported object to the current object. Inherited from Collection.
Clear() Clears the collection by removing all its items. Inherited from StateManagedCollectionBase.
Contains(T) Determines whether the collection contains the specified item. Inherited from Collection<T>.
ConvertAll<TOutput>(Converter<T, TOutput>) For internal use only. Inherited from Collection<T>.
CopyTo(T[], Int32) Copies the items from the collection to the specified array, starting at the specified index in the array object. Inherited from Collection<T>.
CopyTo(Array, Int32) Copies the items from the collection to the specified array, starting at the specified index in the array object. Inherited from StateManagedCollectionBase.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Find(Predicate<T>) Returns the first element that matches the conditions defined by the specified predicate. Inherited from Collection<T>.
FindAll(Predicate<T>) Returns all elements that match the conditions defined by the specified predicate. Inherited from Collection<T>.
FindAllRecursive(Predicate<T>) Returns all elements that match the conditions defined by the specified predicate. Inherited from HierarchicalCollection<T>.
FindByName(String) Returns a node with the specified TreeViewNode.Name property value.
FindByText(String) Returns a node object with the specified TreeViewNode.Text property value.
FindRecursive(Predicate<T>) Returns the first element that matches the conditions defined by the specified predicate. Inherited from HierarchicalCollection<T>.
ForEach(Action<T>) Performs the specified action on each element of the current collection. Inherited from Collection<T>.
GetEnumerator() Returns a reference to an enumerator object, which is used to iterate through the collection. Inherited from StateManagedCollectionBase.
GetHashCode()