The C1TreeViewNodeCollection type exposes the following members.

Constructors

  Name Description
Public method C1TreeViewNodeCollection
Default constructor.

Methods

  Name Description
Public method Add
Adds a C1TreeViewNode node to the collection.
Public method Clear
Removes all C1TreeViewNode nodes from the collection.
Public method Contains
Checks if the C1TreeViewNode node is contained by the collection.
Public method GetAllNodes
Gets all C1TreeViewNodes from the collection.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IndexOf
Returns index of C1TreeViewNode element. Returns index -1 if C1TreeViewNodeCollection collection does not contain the C1TreeViewNode element.
Public method Insert
Inserts a C1TreeViewNode at a specified index.
Public method Remove
Removes the C1TreeViewNode node from the list.
Public method RemoveAt
Removes the C1TreeViewNode at the specified index from the list.
Public method RemoveRange
Removes a range of items from the list.
Public method Reverse
Reverses the order of the C1TreeViewNode nodes in the list or a portion of it.
Public method SortByText
Sort the nodes that belong to the collection. Recursive sorting can be enabled/disabled. Raise CollectionSortedEvent()()()() event.
Public method ToLocaleString (Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  Name Description
Protected field list
storage.

Properties

  Name Description
Public property Count
Items count.
Public property Item
Gets or sets C1TreeViewNode node from\to specific collection index.
Public property Last
Gets or sets the last C1TreeViewNode node on the collection.
Public property Length
Specifies the length of the C1TreeViewNode in the collection.
Public property Owner
Gets a reference to the IC1NodesOwner that owns this collection.

Events

  Name Description
Public event OnCollectionChanged
Occurs after C1TreeViewNodeCollection collection was changed.
Public event OnCollectionSorted
Occurs after C1TreeViewNodeCollection collection was sorted.

See Also