FlexGrid for WinForms
ForeColor Property (C1FlexGridBase)

Gets or sets the foreground color of the control.
Public Overrides Property ForeColor As Color
Dim instance As C1FlexGridBase
Dim value As Color
instance.ForeColor = value
value = instance.ForeColor
public override Color ForeColor {get; set;}
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.
This is the color used to paint the text in scrollable cells, also defined by the CellStyleCollection.Normal cell style.

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


C1FlexGridBase Class
C1FlexGridBase Members



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

Send Feedback