New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents a strongly-typed, ViewState-enabled collection of ButtonListItem objects used by RadButtonList.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class ButtonListItemCollection : StronglyTypedStateManagedCollection<ButtonListItem>, IList, ICollection, IEnumerable, IStateManager

Inheritance: objectStateManagedCollectionStronglyTypedStateManagedCollection<ButtonListItem>ButtonListItemCollection

Implements: ICollectionIEnumerableIListIStateManager

Inherited Members StronglyTypedStateManagedCollection<ButtonListItem>.Add(ButtonListItem)StronglyTypedStateManagedCollection<ButtonListItem>.Contains(ButtonListItem)StronglyTypedStateManagedCollection<ButtonListItem>.CopyTo(ButtonListItem[], int)StronglyTypedStateManagedCollection<ButtonListItem>.AddRange(IEnumerable<ButtonListItem>)StronglyTypedStateManagedCollection<ButtonListItem>.IndexOf(ButtonListItem)StronglyTypedStateManagedCollection<ButtonListItem>.Insert(int, ButtonListItem)StronglyTypedStateManagedCollection<ButtonListItem>.Remove(ButtonListItem)StronglyTypedStateManagedCollection<ButtonListItem>.RemoveAt(int)StronglyTypedStateManagedCollection<ButtonListItem>.this[int]StronglyTypedStateManagedCollection<ButtonListItem>.ListStateManagedCollection.Clear()StateManagedCollection.CopyTo(Array, int)StateManagedCollection.CreateKnownType(int)StateManagedCollection.GetEnumerator()StateManagedCollection.GetKnownTypes()StateManagedCollection.OnClear()StateManagedCollection.OnClearComplete()StateManagedCollection.OnValidate(object)StateManagedCollection.OnInsert(int, object)StateManagedCollection.OnRemove(int, object)StateManagedCollection.OnRemoveComplete(int, object)StateManagedCollection.SetDirty()StateManagedCollection.Countobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Initializes a new instance of the ButtonListItemCollection class for the specified owner list.

C#
public ButtonListItemCollection(RadButtonList parent)
Parameters:parentRadButtonList

Fields

C#
protected RadButtonList parent

Methods

Called after an item has been inserted; assigns parent reference and raises the item created event.

C#
protected override void OnInsertComplete(int index, object value)
Parameters:indexintvalueobject

Overrides: StateManagedCollection.OnInsertComplete(int, object)

Marks the underlying item as dirty so it will be persisted in ViewState.

C#
protected override void SetDirtyObject(object o)
Parameters:oobject

Overrides: StronglyTypedStateManagedCollection<ButtonListItem>.SetDirtyObject(object)