Spread for ASP.NET 9.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 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

SheetSkin Class
SheetSkin Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.