Represents the strongly typed collection of MultiColumnComboBoxItem objects used by RadMultiColumnComboBox. Provides helper lookup methods (by text, value and attribute) and implements IList<T> to support standard collection semantics.
Definition
Namespace:Telerik.Web.UI.MultiColumnComboBox
Assembly:Telerik.Web.UI.dll
Syntax:
public class MultiColumnComboBoxItemCollection : BaseCollection<MultiColumnComboBoxItem>, IList, ICollection, IStateManager, IList<MultiColumnComboBoxItem>, ICollection<MultiColumnComboBoxItem>, IEnumerable<MultiColumnComboBoxItem>, IEnumerable
Inheritance: objectStateManagedCollectionBaseCollection<MultiColumnComboBoxItem>MultiColumnComboBoxItemCollection
Implements:
Inherited Members
Constructors
public MultiColumnComboBoxItemCollection()
Initializes a new instance of the collection and associates it with the specified owner control.
public MultiColumnComboBoxItemCollection(RadMultiColumnComboBox owner)
The owning RadMultiColumnComboBox.
Methods
Adds a single item to the collection and assigns the Owner if available.
public override void Add(MultiColumnComboBoxItem item)
The item to add.
Overrides:
Implements:
Adds the items from the specified sequence to the collection. Each item is processed through Add(MultiColumnComboBoxItem) to ensure proper ownership.
public override void AddRange(IEnumerable<MultiColumnComboBoxItem> items)
Items to add.
Overrides:
Finds the first child item that matches the supplied predicate.
public MultiColumnComboBoxItem FindChild(Predicate<MultiColumnComboBoxItem> match)
Predicate used for evaluation (must not be null).
Returns:The first matching item; otherwise null.
Thrown if match is null.
Finds a child item by a custom attribute key/value pair.
Removes the MultiColumnComboBoxItem object at the specified index from the current MultiColumnComboBoxItemCollection.
protected virtual IList<MultiColumnComboBoxItem> ToList()