Back to Devexpress

Workbook.Sheets Property

officefileapi-devexpress-dot-spreadsheet-dot-workbook-386bbaf7.md

latest2.5 KB
Original Source

Workbook.Sheets Property

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

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this property in production code.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public SheetCollection Sheets { get; }
vb
Public 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:

Implements

Sheets

See Also

WorksheetCollection

ChartSheetCollection

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace