Spread Windows Forms 12.0 Product Documentation
Item Property (SheetViewCollection)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetViewCollection Class : Item Property
Gets or sets the sheet (SheetView object) at the specified position in the collection.
Overload List
OverloadDescription
Gets or sets the sheet (SheetView object) at the specified position in the collection.  
Gets or sets the sheet (SheetView object) at the specified position in the collection.  
Exceptions
ExceptionDescription
Specified sheet index is invalid; must be between 0 and total number of sheets in the collection
Sheet index is not specified (that is, specified index is null)
Example
This example sets the sheet properties as the specified index. C# does not support the Item property. The same behavior can be accomplished with the index of the Sheets property.
fpSpread1.Sheets.Count = 3;
fpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always;
fpSpread1.Sheets[0].ColumnCount = 2;
FpSpread1.Sheets.Count = 3
FpSpread1.TabStripPolicy = FarPoint.Win.Spread.TabStripPolicy.Always
FpSpread1.Sheets.Item(0).ColumnCount = 2
See Also

Reference

SheetViewCollection Class
SheetViewCollection Members