Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / AlternatingRow Class / BackColor Property

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

    Property Value

    Color object containing the background color for cells in this alternating row

    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 background color.

    Specify the text color for the cell by setting the ForeColor property.

    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