Back to Devexpress

IWorkbook.Sheets Property

officefileapi-devexpress-dot-spreadsheet-dot-iworkbook-4df0d335.md

latest2.2 KB
Original Source

IWorkbook.Sheets Property

Provides access to a collection of all sheets contained in the workbook.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
SheetCollection Sheets { get; }
vb
ReadOnly Property Sheets As SheetCollection

Property Value

TypeDescription
SheetCollection

A SheetCollection object specifying a sheet collection.

|

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:

See Also

WorksheetCollection

ChartSheetCollection

IWorkbook Interface

IWorkbook Members

DevExpress.Spreadsheet Namespace