FlexReport for WinForms | ComponentOne
C1.Win.FlexReport.CustomFields.4.8 Assembly / C1.Win.FlexReport.CustomFields Namespace / Map Class / ForeColor Property

In This Topic
    ForeColor Property (Map)
    In This Topic
    Gets or sets the field's foreground color.
    Syntax
    'Declaration
     
    Public Property ForeColor As Color
    public Color ForeColor {get; set;}
    Remarks
    Use the ForeColor property to specify the color for text in a field. You can use this property to make fields easy to read or to convey a special meaning.
    Example
    The code below uses script to change the color of the text in the UnitsInStock field when its value falls below the reorder level.
    See Also