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

the main class from which the button collections derive

Definition

Constructors

C#
public GenericSocialButtonsCollection()

Properties

this[int]

ItemType

Gets or sets the button at the specified index.

C#
public virtual ItemType this[int index] { get; set; }
Parameters:indexint

Methods

Adds the specified item.

C#
public virtual void Add(ItemType item)
Parameters:itemItemType

The item.

Adds the specified items to the collection.

C#
public virtual void AddRange(IEnumerable<ItemType> items)
Parameters:itemsIEnumerable<ItemType>

Clears the collection of items

C#
public virtual void Clear()

Determines whether the collection contains the specified item.

C#
public virtual bool Contains(ItemType item)
Parameters:itemItemType

The item.

Returns:

bool

true if the collection contains the specified item; otherwise, false.

Copies the collection items to the specified array.

C#
public virtual void CopyTo(ItemType[] array, int index)
Parameters:arrayItemType[]indexint

Gets the index of the specified item.

C#
public virtual int IndexOf(ItemType item)
Parameters:itemItemTypeReturns:

int

Inserts the specified item at the specified index.

C#
public virtual void Insert(int index, ItemType item)
Parameters:indexintitemItemType

Removes the specified item.

C#
public virtual void Remove(ItemType item)
Parameters:itemItemType

Removes the item at the specified index.

C#
public virtual void RemoveAt(int index)
Parameters:indexint

The zero-based index of the item to remove.

Exceptions: ArgumentOutOfRangeException

index is not a valid index in the IList.

NotSupportedException

The IList is read-only.-or- The IList has a fixed size.