[]
Represents a collection of C1TreeNode objects.
public class C1TreeNodeCollection : IEnumerable<C1TreeNode>, IList, ICollection, IEnumerable, INotifyCollectionChanged
Name | Description |
---|---|
Count | Gets the number of tree nodes contained in the C1TreeNodeCollection instance. |
IsReadOnly | Gets a value indicating whether the C1TreeNodeCollection is read-only. |
this[int] | Gets or sets the tree node at the specified index. |
Parent | Gets a parent node of this collection. |
Name | Description |
---|---|
Add(C1TreeNode) | Adds an item to the C1TreeNodeCollection. |
Add(object) | Adds the new tree node with specified value to the collection. |
AddRange(IEnumerable<C1TreeNode>) | Adds the collection of nodes to the collection. |
Clear() | Removes all tree nodes from the collection. |
Contains(C1TreeNode) | Determines whether an element is in the C1TreeNodeCollection. |
GetEnumerator() | Returns an enumerator that iterates through the C1TreeNodeCollection. |
IndexOf(C1TreeNode) | Searches for the specified tree node and returns the zero-based index. |
Insert(int, C1TreeNode) | Inserts treeview node into the C1TreeNodeCollection at the specified index. |
Move(int, int) | Moves the node of tree at the specified index to a new location in the collection. |
OnCollectionChanged(NotifyCollectionChangedEventArgs) | Raise CollectionChanged event to any listeners. Properties/methods modifying this C1TreeNodeCollection will raise a collection changed event through this virtual method. |
Remove(C1TreeNode) | Removes the first occurrence of a specified tree node from the collection. |
RemoveAt(int) | Removes the tree node at the specified index of the collection. |
Name | Description |
---|---|
CollectionChanged | Occurs when the C1TreeNodeCollection changes, either by adding or removing an item. |