Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / AlternatingRow Class / ForeColor Property
Example


In This Topic
    ForeColor Property (AlternatingRow)
    In This Topic
    Gets or sets the text color for cells in this alternating row.
    Syntax
    'Declaration
     
    
    Public Property ForeColor As Color
    'Usage
     
    
    Dim instance As AlternatingRow
    Dim value As Color
     
    instance.ForeColor = value
     
    value = instance.ForeColor
    public Color ForeColor {get; set;}

    Property Value

    Color object containing the text color for cells in this alternating row
    Remarks

    The setting for this property can be overridden if a named style is assigned to the cell using the StyleName property, and that named style sets the text color.

    Specify the background color for the cell by setting the BackColor property.

    Example
    This example sets up a two-sheet component. The first sheet has three alternating rows, with the BackColor and ForeColor properties set for each of the rows.
    See Also