Checked Indices Collection Class
This is a derived ReadOnlyCollectionT 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.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
public class CheckedIndicesCollection : ReadOnlyCollection<int>VB
Public Class CheckedIndicesCollection
Inherits ReadOnlyCollection(Of Integer)C++
public ref class CheckedIndicesCollection : public ReadOnlyCollection<int>F#
type CheckedIndicesCollection =
class
inherit ReadOnlyCollection<int>
end- Inheritance
- Object ReadOnlyCollectionInt32 CheckedIndicesCollection
Remarks
The collection itself cannot be modified
Properties
| Count | Gets the number of elements contained in the ReadOnlyCollectionT instance. (Inherited from ReadOnlyCollectionInt32) |
| Item | Gets the element at the specified index. (Inherited from ReadOnlyCollectionInt32) |
| Items | Returns the IListT that the ReadOnlyCollectionT wraps. (Inherited from ReadOnlyCollectionInt32) |
Methods
| Contains | Determines whether an element is in the ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionInt32) |
| CopyTo | Copies the entire ReadOnlyCollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from ReadOnlyCollectionInt32) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetEnumerator | Returns an enumerator that iterates through the ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionInt32) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire ReadOnlyCollectionT. (Inherited from ReadOnlyCollectionInt32) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| ToString |
Convert the checked indices to a comma-separated list
(Overrides ObjectToString) |