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

EI Cell Collection

Definition

Namespace:Telerik.Web.UI.ExportInfrastructure

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class CellCollection : IEnumerable<Cell>, IEnumerable

Inheritance: objectCellCollection

Implements: IEnumerableIEnumerable<Cell>

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

Properties

Returns the total number of populated cells

C#
public int Count { get; }

Provides a reference to the parent Table element

C#
public Table Table { get; }

Gets/Sets a cell object by given column and row. If no such cell exists, it will be created automatically.

C#
public Cell this[int column, int row] { get; set; }
Parameters:columnint

Column index

rowint

Row index

Property Value:

Cell object

Gets/Sets a cell object by given Point value. If no such cell exists, it will be created automatically.

C#
public Cell this[Point index] { get; set; }
Parameters:indexPoint

Row index

Property Value:

Cell object

Gets/Sets a cell object by given Excel-style index. If no such cell exists, it will be created automatically.

C#
public Cell this[string index] { get; set; }
Parameters:indexstring

Excel-style index ('A4', 'BC33', etc)

Property Value:

Cell object

Methods

Method to get the generic enumerator of the collection

C#
public IEnumerator<Cell> GetEnumerator()
Returns:

IEnumerator<Cell>

Implements: IEnumerable<Cell>.GetEnumerator()