Spread for ASP.NET 7.0 Product Documentation
Apply(SheetView) Method
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetSkin Class > Apply Method : Apply(SheetView) Method


sheet
Sheet to which to apply the skin

Glossary Item Box

Applies the skin to the specified sheet view.

Syntax

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

Parameters

sheet
Sheet to which to apply the skin

Example

This example creates a new skin and applies it to the component.
C#Copy Code
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.ActiveSheetView);
Visual BasicCopy Code
FpSpread1.ActiveSheetView.GridLineColor = Color.Red
FpSpread1.ActiveSheetView.ColumnHeader.DefaultStyle.BackColor = Color.Red

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

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.