Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid.Reporting Namespace / GridElementReportStyle Class / ForeColor Property


    ForeColor Property (GridElementReportStyle)
    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

    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