Spread for ASP.NET 11 Product Documentation
Apply(FpSpread) Method
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class > Apply Method : Apply(FpSpread) Method
Spread component to which to apply the skin
Applies the skin to the active sheet view in Spread.
Syntax
'Declaration
 
Public Overloads Sub Apply( _
   ByVal spread As FpSpread _
) 
'Usage
 
Dim instance As SheetSkin
Dim spread As FpSpread
 
instance.Apply(spread)
public void Apply( 
   FpSpread spread
)

Parameters

spread
Spread component to which to apply the skin
Example
This example applies the skin to the spreadsheet.
FarPoint.Web.Spread.SheetView sv = new FarPoint.Web.Spread.SheetView();
sv.BackColor = Color.Red;
sv.ColumnHeader.DefaultStyle.BackColor = Color.Yellow;

FarPoint.Web.Spread.SheetSkin sk = new FarPoint.Web.Spread.SheetSkin(sv);
sk.Apply(FpSpread1); 
Dim sv As New FarPoint.Web.Spread.SheetView
sv.BackColor = Color.Red
sv.ColumnHeader.DefaultStyle.BackColor = Color.Yellow

Dim sk As New FarPoint.Web.Spread.SheetSkin(sv)
sk.Apply(FpSpread1) 
See Also

Reference

SheetSkin Class
SheetSkin Members
Overload List