FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Rows.DefaultRow Class : ForeColor Property |
'Declaration Public Shadows Property ForeColor As Color
'Usage Dim instance As Rows.DefaultRow Dim value As Color instance.ForeColor = value value = instance.ForeColor
public new Color ForeColor {get; set;}
This property is available at run time only.
FarPoint.Win.Spread.Rows.DefaultRow df; df = fpSpread1.ActiveSheet.Rows.Default; df.BackColor = Color.Khaki; df.Border = new FarPoint.Win.LineBorder(Color.Blue); df.CellType = new FarPoint.Win.Spread.CellType.GeneralCellType(); df.Editor = fpSpread1.EditingControl; df.Font = new Font("Comic Sans MS", 10); df.ForeColor = Color.DarkBlue; df.Formatter = fpSpread1.ActiveSheet.Rows.Default.Formatter; df.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; df.Locked = false; df.ParentStyleName = "HeaderDefault"; df.Renderer = fpSpread1.ActiveSheet.Rows.Default.Renderer; df.StyleName = "HeaderDefault"; df.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
Dim df As FarPoint.Win.Spread.Rows.DefaultRow df = fpSpread1.ActiveSheet.Rows.Default df.BackColor = Color.Khaki df.Border = New FarPoint.Win.LineBorder(Color.Blue) df.CellType = New FarPoint.Win.Spread.CellType.GeneralCellType df.Editor = FpSpread1.EditingControl df.Font = New Font("Comic Sans MS", 10) df.ForeColor = Color.DarkBlue df.Formatter = FpSpread1.ActiveSheet.Rows.Default.Formatter df.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right df.Locked = False df.ParentStyleName = "HeaderDefault" df.Renderer = FpSpread1.ActiveSheet.Rows.Default.Renderer df.StyleName = "HeaderDefault" df.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top
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