[]
        
(Showing Draft Content)

C1.Win.TreeView.C1CheckListItemCollection

C1CheckListItemCollection Class

Represents a collection of C1CheckListItem objects.

Inheritance
C1CheckListItemCollection
Namespace: C1.Win.TreeView
Assembly: C1.Win.TreeView.8.dll
Syntax
public class C1CheckListItemCollection : IEnumerable<C1CheckListItem>, IList, ICollection, IEnumerable, INotifyCollectionChanged

Properties

Name Description
Count

Gets the number of items contained in the C1CheckListItemCollection instance.

IsFixedSize

Gets a value indicating whether the C1CheckListItemCollection instance is fixed size.

IsReadOnly

Gets a value indicating whether the C1CheckListItemCollection instance is read-only.

IsSynchronized

Gets a value indicating whether the C1CheckListItemCollection instance is synchronized.

this[int]

Gets or sets the item at the specified index.

SyncRoot

Gets the synchronize root.

Methods

Name Description
Add(C1CheckListItem)

Adds an item to the C1CheckListItemCollection.

Add(object)

Adds an item to the C1CheckListItemCollection.

AddRange(IEnumerable<C1CheckListItem>)

Adds the items of the specified collection to the end of the C1CheckListItemCollection.

AddRange(IEnumerable)

Adds the items of the specified collection to the end of the C1CheckListItemCollection.

Clear()

Removes all items from the C1CheckListItemCollection.

Contains(C1CheckListItem)

Determines whether an item is in the C1CheckListItemCollection.

Contains(object)

Determines whether an item is in the C1CheckListItemCollection.

CopyTo(C1CheckListItem[], int)

Copies the entire C1CheckListItemCollection to a compatible one-dimensional array, starting at the specified index of the target array.

CopyTo(Array, int)

Copies the entire C1CheckListItemCollection to a compatible one-dimensional array, starting at the specified index of the target array.

GetEnumerator()

Returns an enumerator that iterates through the C1CheckListItemCollection.

IndexOf(C1CheckListItem)

Searches for the specified item and returns the zero-based index.

IndexOf(object)

Searches for the specified item and returns the zero-based index.

Insert(int, C1CheckListItem)

Inserts item into the C1CheckListItemCollection at the specified index.

Insert(int, object)

Inserts item into the C1CheckListItemCollection at the specified index.

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raise CollectionChanged event to any listeners. Properties/methods modifying this C1CheckListItemCollection will raise a collection changed event through this virtual method.

Remove(C1CheckListItem)

Removes the first occurrence of a specified item from the collection.

Remove(object)

Removes the first occurrence of a specified item from the collection.

RemoveAt(int)

Removes the item at the specified index of the collection.

Events

Name Description
CollectionChanged

Occurs when the C1CheckListItemCollection changes, either by adding or removing an item.