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

A collection holding GridTableCell objects.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class GridTableCellCollection : ICollection, IEnumerable

Inheritance: objectGridTableCellCollection

Implements: ICollectionIEnumerable

Inherited Members object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public GridTableCellCollection()
C#
public GridTableCellCollection(ArrayList cellsCollection)
Parameters:cellsCollectionArrayList

Properties

Gets the number of elements contained in the ICollection.

C#
public int Count { get; }
Property Value:

The number of elements contained in the ICollection.

Implements: ICollection.Count

Gets a value indicating whether access to the collection is synchronized (thread safe).

C#
public bool IsSynchronized { get; }
Property Value:

true if access to the collection is synchronized (thread safe); otherwise, false.

Implements: ICollection.IsSynchronized

Gets an object that can be used to synchronize access to the collection

C#
public object SyncRoot { get; }
Property Value:

An object that can be used to synchronize access to the collection

Implements: ICollection.SyncRoot

C#
public GridTableCell this[int index] { get; }
Parameters:indexint
C#
public GridTableCell this[string hierarchicalIndex] { get; }
Parameters:hierarchicalIndexstring

Methods

Adds the GridTableCell at the end of the collection.

C#
public void Add(GridTableCell cell)
Parameters:cellGridTableCell

The GridTableCell to be added.

Adds an Array of GridTableCell objects at the end of the colleciton.

C#
public void AddRange(GridTableCell[] extraCells)
Parameters:extraCellsGridTableCell[]

The Array of GridTableCell object to be added at the end of the Array.

Adds a collection of GridTableCell objects at the end of the colleciton.

C#
public void AddRange(GridTableCellCollection extraCells)
Parameters:extraCellsGridTableCellCollection

The collection of GridTableCell object to be added at the end of the collection.

Copies the elements of the collection to an Array, starting at a particular Array index.

C#
public void CopyTo(Array array, int index)
Parameters:arrayArray

The one-dimensional Array that is the destination of the elements copied from collection The Array must have zero-based indexing.

indexint

The zero-based index in array at which copying begins.

Implements: ICollection.CopyTo(Array, int)

Returns an enumerator that iterates through a collection.

C#
public IEnumerator GetEnumerator()
Returns:

IEnumerator

An IEnumerator object that can be used to iterate through the collection.

Implements: IEnumerable.GetEnumerator()