FlexGrid for WinForms
ForeColor Property (C1FlexGridBase)



Gets or sets the foreground color of the control.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Overrides Property ForeColor As Color
'Usage
 
Dim instance As C1FlexGridBase
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
[DefaultValue()]
public override Color ForeColor {get; set;}
[DefaultValue()]
public:
property Color ForeColor {
   Color get() override;
   void set (    Color value) override;
}

Property Value

The foreground System.Drawing.Color of the control. The default is the value of the System.Windows.Forms.Control.DefaultForeColor property.
Remarks
This is the color used to paint the text in scrollable cells, also defined by the CellStyleCollection.Normal cell style.
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

C1FlexGridBase Class
C1FlexGridBase Members

 

 


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

Send Feedback