Xceed Grid for WinForms v4.3 Documentation
ForeColor Property (GroupMargin)


Xceed.Grid.v4.3 Assembly > Xceed.Grid Namespace > GroupMargin Class : ForeColor Property
Gets or sets the foreground color of the grid element.
Syntax
'Declaration
 
<DescriptionAttribute("The foreground color of the grid element.")>

<CategoryAttribute("Appearance")>

<ApplyToDesignerAttribute(True)>

<BrowsableAttribute(False)>

<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>

Public Shadows Property ForeColor As Color
'Usage
 
Dim instance As GroupMargin

Dim value As Color

 

instance.ForeColor = value

 

value = instance.ForeColor
[Description("The foreground color of the grid element.")]

[Category("Appearance")]

[ApplyToDesigner(true)]

[Browsable(false)]

[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]

public new Color ForeColor {get; set;}

Property Value

A System.Drawing.Color structure representing the foreground color to use.
Remarks

If the IsForeColorAmbient property returns true, then the value of the ForeColor property is inherited from its parent.

To reset the value of the ForeColor property to its default value, DefaultForeColor, the ResetForeColor method must be called or System.Drawing.Color.Empty assigned to the ForeColor property.

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

GroupMargin Class
GroupMargin Members