IWorkbook.Sheets Property
In This Article
Provides access to a collection of all sheets contained in the workbook.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
#Declaration
SheetCollection Sheets { get; }
#Property Value
Type | Description |
---|---|
Sheet |
A Sheet |
#Remarks
The SheetCollection collection returned by the Sheets property stores both worksheets (Worksheet) and chart sheets (ChartSheet) contained in a workbook.
The SheetCollection collection is useful when you need to access a sheet of any type. If you work with sheets of only one type, consider using one of the following collections:
- WorksheetCollection - returns a collection of worksheets contained in the workbook;
- ChartSheetCollection - returns a collection of chart sheets contained in the workbook.
See Also