Collection of XLSheet objects that represent the individual worksheets in a C1XLBook.

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

Syntax

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

Remarks

Provides methods and properties for counting, enumerating, adding, and removing sheets from the workbook.

Examples

Use the C1XLBookSheets property to get the book's sheet collection. For example, the code below gets a reference to the first sheet on the book and then prints the sheet's name:
Copy CodeC#
C1XLBook book = new C1XLBook();
XLSheet sheet = book.Sheets[0];
Debug.WriteLine(sheet.Name);

Inheritance Hierarchy

System..::..Object
  C1.Silverlight.Excel..::..XLSheetCollection

See Also