[]
        
(Showing Draft Content)

C1.Win.C1Input.ComboBoxItemList

ComboBoxItemList Class

Represents collection of C1ComboBox drop down items.

Inheritance
ComboBoxItemList
Namespace: C1.Win.C1Input
Assembly: C1.Win.C1Input.4.8.dll
Syntax
public class ComboBoxItemList : IList, ICollection, IEnumerable, INotifyCollectionChanged

Constructors

Name Description
ComboBoxItemList(C1ComboBox)

Initializes a new instance of the ComboBoxItemList class.

Properties

Name Description
Count

Gets the number of items contained in the ComboBoxItemList instance.

this[int]

Gets or sets the item at the specified index.

Methods

Name Description
Add(object)

Adds an item to the ComboBoxItemList.

AddRange(IEnumerable<object>)

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

Clear()

Removes all items from the ComboBoxItemList.

Contains(object)

Determines whether an item is in the ComboBoxItemList.

GetEnumerator()

Returns an enumerator that iterates through the ComboBoxItemList.

IndexOf(object)

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

Insert(int, object)

Inserts item into the ComboBoxItemList at the specified index.

InsertRange(int, IEnumerable<object>)

Inserts items into the ComboBoxItemList at the specified index.

OnCollectionChanged(NotifyCollectionChangedAction, IEnumerable<object>)

Fires the CollectionChanged event.

OnCollectionChanged(NotifyCollectionChangedAction, IEnumerable<object>, int)

Fires the CollectionChanged event.

OnCollectionChanged(NotifyCollectionChangedAction, object, int)

Fires the CollectionChanged event.

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Fires the CollectionChanged event.

OnCollectionReset()

Fires the CollectionChanged event.

Remove(object)

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

RemoveAll(Predicate<object>)

Removes all the items that match the conditions defined by the specified predicate.

RemoveAt(int)

Removes the item at the specified index of the collection.

RemoveRange(int, int)

Removes a range of elements from the ComboBoxItemList.

Events

Name Description
CollectionChanged

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