Spread for ASP.NET 9.0 Product Documentation
ResetBackColor Method (Row)
Example 


Resets the background color for the row and makes the row inherit the background color from the default row.
Syntax
'Declaration
 
Public Sub ResetBackColor() 
'Usage
 
Dim instance As Row
 
instance.ResetBackColor()
public void ResetBackColor()
Example
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;
//myrow.ResetBackColor();
//myrow.ResetForeColor();
//myrow.ResetFont();
//myrow.ResetBorder();
//myrow.ResetHeight();
//myrow.ResetTabStop();
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
'myrow.ResetBackColor()
'myrow.ResetForeColor()
'myrow.ResetFont()
'myrow.ResetBorder()
'myrow.ResetHeight()
'myrow.ResetTabStop()
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Row Class
Row Members

 

 


Copyright © GrapeCity, inc. All rights reserved.