Back to Devexpress

TdxCustomSpreadSheet.SheetCount Property

vcl-dxspreadsheetcore-dot-tdxcustomspreadsheet-7209671b.md

latest1.2 KB
Original Source

TdxCustomSpreadSheet.SheetCount Property

Returns the total number of sheets within a workbook.

Declaration

delphi
property SheetCount: Integer read;

Property Value

Type
Integer

Remarks

This property returns the number of worksheets accessible via the Sheets property.

The SheetCount property is particularly useful to identify the maximum valid sheet index in the current workbook.

Note

The value returned by the SheetCount property also includes the number of visible worksheets.

See Also

TdxCustomSpreadSheet.ActiveSheet

TdxCustomSpreadSheet.ActiveSheetIndex

TdxCustomSpreadSheet Class

TdxCustomSpreadSheet Members

dxSpreadSheetCore Unit