Gets or sets the foreground color (text color) for the sheet name tab.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ForeColor As Color |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As SheetTab
Dim value As Color
instance.ForeColor = value
value = instance.ForeColor |
C# | |
---|
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.
C# | Copy Code |
---|
fpSpread1.InterfaceRenderer = null;
fpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off;
FarPoint.Win.Spread.SheetTab st;
st = fpSpread1.TabStrip.ActiveSheetTab;
st.ForeColor = Color.Red;
|
Visual Basic | Copy Code |
---|
FpSpread1.InterfaceRenderer = Nothing
FpSpread1.VisualStyles = FarPoint.Win.VisualStyles.Off
Dim st As FarPoint.Win.Spread.SheetTab
st = FpSpread1.TabStrip.ActiveSheetTab
st.ForeColor = Color.Red |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also