Spread Windows Forms 12.0 Product Documentation
Count Property (SheetViewCollection)

FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetViewCollection Class : Count Property
Gets or sets the number of sheets (SheetView objects) in the collection.
Public Shadows Property Count As Integer
Dim instance As SheetViewCollection
Dim value As Integer
instance.Count = value
value = instance.Count
public new int Count {get; set;}

Property Value

Integer number of sheets in the collection

The maximum number of sheets that a Spread component may contain is 2,147,483,647.

This example specifies the number of sheets in the collection.
fpSpread1.Sheets.Count = 3;
fpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always;
FpSpread1.Sheets.Count = 3
FpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always
See Also


SheetViewCollection Class
SheetViewCollection Members