CheckedNodesCollection Class

This is a derived ReadOnlyCollectionT class that contains a set of nodes from a ExtendedTreeView control. Each entry represents a node that has a check state of Checked or Mixed.

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2023.4.9.0
public class CheckedNodesCollection : ReadOnlyCollection<TreeNode>
Inheritance
Object    ReadOnlyCollectionTreeNode    CheckedNodesCollection

Remarks

The collection itself cannot be modified, but the items in it can

Properties

CountGets the number of elements contained in the ReadOnlyCollectionT instance.
(Inherited from ReadOnlyCollectionTreeNode)
ItemGets the element at the specified index.
(Inherited from ReadOnlyCollectionTreeNode)
ItemsReturns the IListT that the ReadOnlyCollectionT wraps.
(Inherited from ReadOnlyCollectionTreeNode)

Methods

CheckStateOf Get the check state of the specified item from the tree view
ContainsDetermines whether an element is in the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionTreeNode)
ContainsName This can be used to determine whether or not the collection contains a node with the specified name
CopyToCopies the entire ReadOnlyCollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from ReadOnlyCollectionTreeNode)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetEnumeratorReturns an enumerator that iterates through the ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionTreeNode)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
IndexOfSearches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollectionT.
(Inherited from ReadOnlyCollectionTreeNode)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToNameString Convert the checked nodes' names to a comma-separated list
ToStringReturns a string that represents the current object.
(Inherited from Object)
ToTextValueString Convert the checked nodes' text values to a comma-separated list

See Also