CheckedIndicesCollection Class

This is a derived ReadOnlyCollection<T> class that contains a set of indices from a CheckBoxList control. Each entry represents the index of an item that has a check state of Checked or Indeterminate.

Definition

Namespace: EWSoftware.ListControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.18.0+3a863295c73252b22e8ab6862ed6bdc57bcbd0fc
public class CheckedIndicesCollection : ReadOnlyCollection<int>
Inheritance
Object    ReadOnlyCollection<Int32>    CheckedIndicesCollection

Remarks

The collection itself cannot be modified

Properties

CountGets the number of elements contained in the ReadOnlyCollection<T> instance.
(Inherited from ReadOnlyCollection<Int32>)
ItemGets the element at the specified index.
(Inherited from ReadOnlyCollection<Int32>)
ItemsReturns the IList<T> that the ReadOnlyCollection<T> wraps.
(Inherited from ReadOnlyCollection<Int32>)

Methods

ContainsDetermines whether an element is in the ReadOnlyCollection<T>.
(Inherited from ReadOnlyCollection<Int32>)
CopyToCopies the entire ReadOnlyCollection<T> to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from ReadOnlyCollection<Int32>)
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 ReadOnlyCollection<T>.
(Inherited from ReadOnlyCollection<Int32>)
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 ReadOnlyCollection<T>.
(Inherited from ReadOnlyCollection<Int32>)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString Convert the checked indices to a comma-separated list
(Overrides Object.ToString())

See Also