A WorksheetCollection object that is a collection of worksheets.
A workbook consists of one or more worksheets that are stored within the WorksheetCollection collection returned by the Worksheets property. Use members of the WorksheetCollection object to manage a workbook's set of worksheets. For example, you can access an individual worksheet by it's name or index, add a new worksheet, remove an existing worksheet, assign an active worksheet, etc.
For more examples on how to manage worksheets, see the Worksheets section.
To get an individual worksheet by its index or name, use the WorksheetCollection.Item property.
using DevExpress.Spreadsheet; // ... Workbook workbook = new Workbook(); // Access a collection of worksheets. WorksheetCollection worksheets = workbook.Worksheets; // Access a worksheet by its index. Worksheet worksheet1 = workbook.Worksheets; // Access a worksheet by its name. Worksheet worksheet2 = workbook.Worksheets["Sheet2"];