Spread Windows Forms 12.0 Product Documentation
SheetTab Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetTab Class > SheetTab Constructor : SheetTab Constructor()
Creates a new sheet name tab.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New SheetTab()
public SheetTab()
Example
This example shows the use of this method by creating a new set of sheet tabs and changing the background color of them.
fpSpread1.Sheets.Count = 3;
fpSpread1.InterfaceRenderer = null;
fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
FarPoint.Win.Spread.SheetTab st = new FarPoint.Win.Spread.SheetTab();
st = fpSpread1.TabStrip.DefaultSheetTab;
st.BackColor = Color.Red;
FpSpread1.Sheets.Count = 3
FpSpread1.InterfaceRenderer = Nothing
FpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off
Dim st As New FarPoint.Win.Spread.SheetTab
st = FpSpread1.TabStrip.DefaultSheetTab
st.BackColor = Color.Red
See Also

Reference

SheetTab Class
SheetTab Members
Overload List