Represents a collection of RadListBoxItem objects in a RadListBox control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RadListBoxItemCollection : ControlItemCollection, IList, ICollection, IStateManager, IList<RadListBoxItem>, ICollection<RadListBoxItem>, IEnumerable<RadListBoxItem>, IEnumerable
Inheritance: objectStateManagedCollectionControlItemCollectionRadListBoxItemCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadListBoxItemCollection class.
public RadListBoxItemCollection(Control parent)
The parent RadListBox control.
Properties
Gets or sets the RadListBoxItem at the specified index.
Methods
Appends an item to the collection.
public void Add(RadListBoxItem item)
The item to add to the collection.
Implements:
Appends an item to the collection.
protected override void AddItemToParentControls(int index, ControlItem item)
Overrides:
Finds all items mathcing the specified criteria.
public IList<RadListBoxItem> FindAll(Predicate<RadListBoxItem> match)
The delegate which determines whether an item matches the search criteria.
Returns:Inserts an item to the collection at the specified index.
public void Insert(int index, RadListBoxItem item)
The zero-based index at which item should be inserted.
The item to insert into the collection.
Inserts an item to the collection at the specified index.
public virtual void Insert(int index, string text)
The zero-based index location at which to insert the RadListBoxItem.
textstringThe text of the new item.
Removes the specified item from the collection.
public void Remove(RadListBoxItem item)
The item to remove from the collection.
Sort the items from RadListBoxItemCollection.
public void Sort()
Sort the items from RadListBoxItemCollection.
public void Sort(Func<RadListBoxItem, object> predicate)
Sort the items from RadListBoxItemCollection.
public void Sort(IComparer comparer)
An object from IComparer interface.