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


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Reporting Namespace > GridElementReportStyle Class : ForeColor Property
Gets or sets the foreground color that the grid element will have when it is printed in a report.
Syntax
'Declaration
 
<DescriptionAttribute("The foreground color of this report element.")>
<CategoryAttribute("Appearance")>
<XmlIgnoreAttribute()>
<EndUserDisplayNameAttribute("Font Color")>
Public Property ForeColor As Color
'Usage
 
Dim instance As GridElementReportStyle
Dim value As Color
 
instance.ForeColor = value
 
value = instance.ForeColor
[Description("The foreground color of this report element.")]
[Category("Appearance")]
[XmlIgnore()]
[EndUserDisplayName("Font Color")]
public Color ForeColor {get; set;}

Property Value

A System.Drawing.Color structure representing the foreground color that the grid element will have when it is printed in a report.
Remarks

The value of the ForeColor property of the parent element's ReportStyle will be used in the case where the ForeColor property has not been explicitly set.

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

GridElementReportStyle Class
GridElementReportStyle Members