Spread for ASP.NET 11 Product Documentation
SheetSkin Constructor(FpSpread)
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class > SheetSkin Constructor : SheetSkin Constructor(FpSpread)
Spread component
Creates a new skin with the property values of the active sheet of the specified Spread component.
Syntax
'Declaration
 
Public Function New( _
   ByVal spread As FpSpread _
)
'Usage
 
Dim spread As FpSpread
 
Dim instance As New SheetSkin(spread)
public SheetSkin( 
   FpSpread spread
)

Parameters

spread
Spread component
Remarks
This method initializes an instance of the SheetSkin class and initializes it with the property values in the active sheet of the specified Spread component.
Example
This example creates a new skin and applies it to the component.
FpSpread1.ActiveSheetView.GridLineColor = Color.Red;
FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle.BackColor = Color.Red;

Dim FarPoint.Web.Spread.SheetSkin = new FarPoint.Web.Spread.SheetSkin(FpSpread1);
skin.Apply(FpSpread2);
FpSpread1.ActiveSheetView.GridLineColor = Color.Red
FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle.BackColor = Color.Red

Dim skin As New FarPoint.Web.Spread.SheetSkin(FpSpread1)
skin.Apply(FpSpread2)
See Also

Reference

SheetSkin Class
SheetSkin Members
Overload List