Spread Windows Forms 11.0 Product Documentation
Item Property (TabStrip)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TabStrip Class : Item Property
Index of a sheet name tab (zero-based)
Gets the specified sheet tab.
Syntax
'Declaration
 
Public ReadOnly Default Property Item( _
   ByVal index As Integer _
) As SheetTab
'Usage
 
Dim instance As TabStrip
Dim index As Integer
Dim value As SheetTab
 
value = instance.Item(index)
public SheetTab this[ 
   int index
]; {get;}

Parameters

index
Index of a sheet name tab (zero-based)

Property Value

SheetTab object containing the sheet tab
Example
This example sets the background color for the first sheet tab (of three) to red.
fpSpread1.Sheets.Count = 3;

fpSpread1.TabStrip[0].BackColor = Color.Red;
fpSpread1.Sheets.Count = 3

fpSpread1.TabStrip.Item(0).BackColor = Color.Red
See Also

Reference

TabStrip Class
TabStrip Members