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

A collection of RadButtonToggleState objects in a RadButton control

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class RadButtonToggleStateCollection : StronglyTypedStateManagedCollection<RadButtonToggleState>, IList, ICollection, IEnumerable, IStateManager

Inheritance: objectStateManagedCollectionStronglyTypedStateManagedCollection<RadButtonToggleState>RadButtonToggleStateCollection

Implements: ICollectionIEnumerableIListIStateManager

Inherited Members StronglyTypedStateManagedCollection<RadButtonToggleState>.Add(RadButtonToggleState)StronglyTypedStateManagedCollection<RadButtonToggleState>.Contains(RadButtonToggleState)StronglyTypedStateManagedCollection<RadButtonToggleState>.CopyTo(RadButtonToggleState[], int)StronglyTypedStateManagedCollection<RadButtonToggleState>.AddRange(IEnumerable<RadButtonToggleState>)StronglyTypedStateManagedCollection<RadButtonToggleState>.IndexOf(RadButtonToggleState)StronglyTypedStateManagedCollection<RadButtonToggleState>.Insert(int, RadButtonToggleState)StronglyTypedStateManagedCollection<RadButtonToggleState>.RemoveAt(int)StronglyTypedStateManagedCollection<RadButtonToggleState>.SetDirtyObject(object)StronglyTypedStateManagedCollection<RadButtonToggleState>.this[int]StronglyTypedStateManagedCollection<RadButtonToggleState>.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.OnInsertComplete(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

Creates an instance of RadButtonToggleStateCollection class.

C#
public RadButtonToggleStateCollection(RadButton container)
Parameters:containerRadButton

The RadButton control to which the collection belongs.

Methods

Creates a new RadButtonToggleState and adds it to the current ToggleState collection.

C#
public virtual void Add(string text)
Parameters:textstring

The Text of the ToggleState.

Removes an item from the ToggleState collection.

C#
public override void Remove(RadButtonToggleState item)
Parameters:itemRadButtonToggleState

The ToggleState to remove.

Overrides: StronglyTypedStateManagedCollection<RadButtonToggleState>.Remove(RadButtonToggleState)