Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Row Class / ResetBackColor Method

In This Topic
    ResetBackColor Method (Row)
    In This Topic
    Resets the background color for the row and makes the row inherit the background color from the default row.
    Public Sub ResetBackColor() 
    Dim instance As Row
    public void ResetBackColor()
    This example uses the ResetBackColor method.
    FarPoint.Web.Spread.Row myrow;
    myrow = FpSpread1.ActiveSheetView.Rows[1];
    myrow.BackColor = System.Drawing.Color.Yellow;
    myrow.ForeColor = System.Drawing.Color.Red;
    myrow.Font.Bold = true;
    myrow.Font.Name = "Comic Sans MS";
    myrow.Border = new FarPoint.Web.Spread.Border(System.Drawing.Color.Aqua);
    myrow.Height = 70;
    myrow.TabStop = false;
    Dim myrow As FarPoint.Web.Spread.Row
    myrow = FpSpread1.ActiveSheetView.Rows(1)
    myrow.BackColor = System.Drawing.Color.Yellow
    myrow.ForeColor = System.Drawing.Color.Red
    myrow.Font.Bold = True
    myrow.Font.Name = "Comic Sans MS"
    myrow.Border = New FarPoint.Web.Spread.Border(System.Drawing.Color.Aqua)
    myrow.Height = 70
    myrow.TabStop = False
    See Also