TreeListNodes Members

Represents a collection of TreeListNode objects in the TreeList component.

Constructors

Name Description
TreeListNodes(TreeList) Creates a collection of nodes at the root level of the Tree List.
TreeListNodes(TreeList, TreeListNode) Creates a collection of child nodes for a specific parent node.

Properties

Name Description
AutoFilterNode Gets the Automatic Filtering Row element.
Count Gets the number of nodes in the current node collection, without taking into account children of these nodes.
FirstNode Gets the first element in the collection.
IsSynchronized Gets a value indicating whether access to the nodes collection is synchronized (thread-safe).
Item[Int32] Obtains the TreeListNode object by a specific index in the current node collection.
LastNode Gets the last node in the node collection.
ParentNode Gets the parent of the node collection.
SyncRoot Gets an object that can be used to synchronize access to the nodes collection.
TreeList Gets the TreeList object to which the node collection belongs.

Methods

Name Description
Add(Object) Appends a new node to the end of the TreeListNodes collection and initializes the node with the specified data.
Add(Object[]) Adds a new child TreeListNode containing the specified values.
Clear() Removes all elements from the current node collection.
CopyTo(Array, Int32) Copies the entire nodes collection to a one dimensional array starting at the specified index of the target array.
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.
GetEnumerator() Gets the enumerator used to iterate through the node collection.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(TreeListNode) Returns the index of a specified node within the node collection.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Remove(TreeListNode) Removes a specific node from the node collection.
RemoveAt(Int32) Removes a node referenced by the specified index from the node collection.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also