Spread Windows Forms 12.0 Product Documentation
ForeColor Property (SheetTab)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetTab Class : ForeColor Property
Gets or sets the foreground color (text color) for the sheet name tab.
Syntax
'Declaration
 
Public Property ForeColor As Color
'Usage
 
Dim instance As SheetTab
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
public Color ForeColor {get; set;}

Property Value

Color object containing the text color of the sheet tab
Example
This example changes the foreground color of the active sheet tab.
fpSpread1.InterfaceRenderer = null;
fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
FarPoint.Win.Spread.SheetTab st; 
st = fpSpread1.TabStrip.ActiveSheetTab; 
st.ForeColor = Color.Red; 
FpSpread1.InterfaceRenderer = Nothing
FpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off
Dim st As FarPoint.Win.Spread.SheetTab
st = FpSpread1.TabStrip.ActiveSheetTab
st.ForeColor = Color.Red
See Also

Reference

SheetTab Class
SheetTab Members