Spread ASP.NET 6.0 Product Documentation
Apply(FpSpread) Method
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class > Apply Method : Apply(FpSpread) Method


spread
Spread component to which to apply the skin

Glossary Item Box

Applies the skin to the active sheet view in Spread.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Apply( _
   ByVal spread As FpSpread _
) 
Visual Basic (Usage)Copy Code
Dim instance As SheetSkin
Dim spread As FpSpread
 
instance.Apply(spread)
C# 
public void Apply( 
   FpSpread spread
)

Parameters

spread
Spread component to which to apply the skin

Example

This example applies the skin to the spreadsheet.
C#Copy Code
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); 
Visual BasicCopy Code
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.