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


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) 
Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

SheetSkin Class
SheetSkin Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.