FlexGrid for WinForms
ForeColor Property (CellStyle)



Gets or sets the color of the text in the cell.
Syntax
'Declaration
 
<C1DescriptionAttribute("Gets or sets the foreground color.")>
<BrowsableAttribute(True)>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<DefaultValueAttribute()>
Public Property ForeColor As Color
'Usage
 
Dim instance As CellStyle
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
[C1Description("Gets or sets the foreground color.")]
[Browsable(true)]
[RefreshProperties(RefreshProperties.Repaint)]
[DefaultValue()]
public Color ForeColor {get; set;}
[C1Description("Gets or sets the foreground color.")]
[Browsable(true)]
[RefreshProperties(RefreshProperties.Repaint)]
[DefaultValue()]
public:
property Color ForeColor {
   Color get();
   void set (    Color value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CellStyle Class
CellStyle Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback