BinaryTreeListViewNodesCollection
Implements a specialized collection for a given list of BinaryTreeListViewNode objects.
public class BinaryTreeListViewNodesCollection : IList<BinaryTreeListViewNode>, System.Collections.IList
Inherits from / implements: IList<BinaryTreeListViewNode>, System.Collections.IList
Members at a glance
BinaryTreeListViewNodesCollection | Constructs a new instance of BinaryTreeListViewNodesCollection class. |
Count | Returns the count of node items in the collection. |
IsReadOnly | Returns whether the collection is readonly. |
Item | Indexer for this collection. |
Add | Adds an instance of a given BinaryTreeListViewNode object into the current collection of BinaryTreeListViewNodesCollection. |
Add | A overloaded version of Add for adding a instance of node into the collection, based on a supplied string value for the node text. |
Add | An overloaded version of Add for adding a instance of node into the collection, based on a an array of cell values applicable for each of the cell in the node, when constructing the node insatnce and adding it to the collection. |
Clear | This method is provided only as a legacy support. It is advised that you use the BinaryTreeListView.ClearAllNodes() method instead of Nodes.Clear() / (IList) Nodes.Clear(). |
Contains | Returns whether the collection contains the given node. |
CopyTo | Copies the given array of node obejcts. |
GetEnumerator | Returns the specialised Enumerator for this collection. |
IndexOf | Returns the index of the given item of node, in the collection. |
Insert | Inserts the given node object at the specified location in the collection. |
Remove | Removes the node from the collection. |
RemoveAt | Removes the node item at the specified index in the collection. |
Constructors
BinaryTreeListViewNodesCollection
Constructs a new instance of BinaryTreeListViewNodesCollection class.
Properties
Count
Returns the count of node items in the collection.
IsReadOnly
Returns whether the collection is readonly.
Item
Indexer for this collection.
- theIndex
Methods
Add
Adds an instance of a given BinaryTreeListViewNode object into the current collection of BinaryTreeListViewNodesCollection.
- aNode
- The node, to be added.
Add
A overloaded version of Add for adding a instance of node into the collection, based on a supplied string value for the node text.
- stringValue
- The text value to be used / set for the
BinaryTreeListViewCell
Add
An overloaded version of Add for adding a instance of node into the collection, based on a an array of cell values applicable for each of the cell in the node, when constructing the node insatnce and adding it to the collection.
- cellValues
- Supply an array of object instances, based on the columns you have created for the control, and thereby be able to create this instance of the node and add it ot the collection.
Returns. A constructed instance of BinaryTreeListViewNode node, so that you can set up more properties to it, and / or even add child nodes to this instance.
Clear
This method is provided only as a legacy support. It is advised that you use the BinaryTreeListView.ClearAllNodes() method instead of Nodes.Clear() / (IList) Nodes.Clear().
Contains
Returns whether the collection contains the given node.
- theNode
CopyTo
Copies the given array of node obejcts.
- arrayOfItems
- index
GetEnumerator
Returns the specialised Enumerator for this collection.
IndexOf
Returns the index of the given item of node, in the collection.
- theItem
Insert
Inserts the given node object at the specified location in the collection.
- index
- nodeItem
Remove
Removes the node from the collection.
- nodeItem
RemoveAt
Removes the node item at the specified index in the collection.
- index