Spread for ASP.NET 13 Product Documentation
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / Column Class / ResetBackColor Method

In This Topic
    ResetBackColor Method (Column)
    In This Topic
    Resets the background color for the column and makes the column inherit the background color from the default column.
    Public Sub ResetBackColor() 
    Dim instance As Column
    public void ResetBackColor()
    This example uses the ResetBackColor method.
    FarPoint.Web.Spread.Column mycol;
    mycol = FpSpread1.ActiveSheetView.Columns[1];
    mycol.BackColor = System.Drawing.Color.Yellow;
    mycol.ForeColor = System.Drawing.Color.Red;
    mycol.Border = new FarPoint.Web.Spread.Border(BorderStyle.Groove, System.Drawing.Color.Blue, 3);
    mycol.Font.Bold = true;
    mycol.Font.Name = "ComicSansMS";
    Dim mycol As FarPoint.Web.Spread.Column
    mycol = FpSpread1.ActiveSheetView.Columns(1)
    mycol.BackColor = System.Drawing.Color.Yellow
    mycol.ForeColor = System.Drawing.Color.Red
    mycol.Border = New FarPoint.Web.Spread.Border(BorderStyle.Groove, System.Drawing.Color.Blue, 3)
    mycol.Font.Bold = True
    mycol.Font.Name = "ComicSansMS"
    See Also