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


SheetSkin from which to copy, or null to copy from DefaultSkins.Default
Creates a new skin and copies the property values from the source skin.
Syntax
'Declaration
 
Public Function New( _
   ByVal source As SheetSkin _
)
'Usage
 
Dim source As SheetSkin
 
Dim instance As New SheetSkin(source)
public SheetSkin( 
   SheetSkin source
)

Parameters

source
SheetSkin from which to copy, or null to copy from DefaultSkins.Default
Remarks
Initializes an instance of the SheetSkin class and initializes it with the property values from the source SheetSkin from which it is copied.
Example
This example creates a new skin and applies it to the component.
FarPoint.Web.Spread.SheetSkin sk = new FarPoint.Web.Spread.SheetSkin("TestSkin", Color.LightGoldenrodYellow, Color.Wheat,
Color.DarkGreen, 2, Color.YellowGreen, GridLines.Both, Color.Thistle, Color.BlanchedAlmond, Color.Wheat, Color.DarkBlue, Color.Empty,
Color.Empty, false, false, true, true, true);

FarPoint.Web.Spread.SheetSkin testskin = new FarPoint.Web.Spread.SheetSkin(sk);
testskin.Apply(FpSpread1);
Dim sk As New FarPoint.Web.Spread.SheetSkin("TestSkin", Color.LightGoldenrodYellow, Color.Wheat, Color.DarkGreen, 2, Color.YellowGreen,
GridLines.Both, Color.Thistle, Color.BlanchedAlmond, Color.Wheat, Color.DarkBlue, Nothing, Nothing, False, False, True, True,
True)

Dim testskin As New FarPoint.Web.Spread.SheetSkin(sk)
testskin.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.