Represents a collection of XLRow objects that represent the individual rows in each XLSheet.

Namespace:  C1.Silverlight.Excel
Assembly:  C1.Silverlight.Excel.5 (in C1.Silverlight.Excel.5.dll)

Syntax

C#
public class XLRowCollection : IEnumerable
Visual Basic
Public Class XLRowCollection _
	Implements IEnumerable

Remarks

The collection has methods for counting, enumerating, adding, and removing rows from the collection.

Examples

Note that you can create rows automatically by using the sheet's indexer. For example, the following code retrieves the cell at coordinates (3,3) and in doing so automatically creates four rows and four columns automatically:
Copy CodeC#
C1XLBook book = new C1XLBook();
sheet = book.Sheets[0];
XLCell cell   = sheet[3,3]; // creates 4 rows and 4 columns

Inheritance Hierarchy

System..::..Object
  C1.Silverlight.Excel..::..XLRowCollection

See Also