Stores the checked-list items used by a RadCheckedDropDownListElement.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadCheckedListDataItemCollection : RadListDataItemCollection, IList, ICollection, IEnumerable
Inheritance: objectRadListDataItemCollectionRadCheckedListDataItemCollection
Implements:
Inherited Members
Constructors
Initializes the checked-item collection over the specified list data layer and owner element.
public RadCheckedListDataItemCollection(RadCheckedDropDownListElement owner, ListDataLayer dataLayer, RadListElement ownerListElement)
The checked drop-down list element associated with the collection.
dataLayerListDataLayerThe data layer that supplies the list items.
ownerListElementRadListElementThe list element that hosts the items.
Properties
Gets or replaces the checked-list item at the specified position.
public RadCheckedListDataItem this[int index] { get; set; }
The zero-based item position.
Methods
Adds an existing checked-list item to the collection.
public void Add(RadCheckedListDataItem item)
The checked-list item to add.
Creates an unchecked item with the specified text and adds it to the collection.
public override void Add(string text)
The text displayed for the new item.
Overrides:
Creates an unchecked item for each supplied string and adds the items to the collection.
public override void AddRange(IEnumerable<string> textStrings)
The display text for the new items.
Overrides:
Creates an unchecked item by copying the text, value, tag, height, images, and text-layout settings from a list item.
protected virtual RadCheckedListDataItem CreateCheckedListDataItem(RadListDataItem item)
The source item to copy.
Returns:The checked-list item to insert into the collection.