Back to Devexpress

SheetCollection Interface

officefileapi-devexpress-dot-spreadsheet-c1b5ab66.md

latest2.0 KB
Original Source

SheetCollection Interface

A collection of all sheets (worksheets and chart sheets) contained in a workbook.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public interface SheetCollection :
    ISimpleCollection<Sheet>,
    IEnumerable<Sheet>,
    IEnumerable,
    ICollection
vb
Public Interface SheetCollection
    Inherits ISimpleCollection(Of Sheet),
             IEnumerable(Of Sheet),
             IEnumerable,
             ICollection

The following members return SheetCollection objects:

Remarks

Use the Workbook.Sheets property to get access to the SheetCollection collection. An individual Sheet can be accessed by its name or index in the collection.

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

SheetCollection Members

DevExpress.Spreadsheet Namespace