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


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
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

SheetTab Class
SheetTab Members

 

 


Copyright © GrapeCity, inc. All rights reserved.