Creates a new skin and copies the property values from the source skin.
Syntax
Visual Basic (Declaration) | |
---|
Public Function New( _
ByVal source As SheetSkin _
) |
Visual Basic (Usage) | Copy Code |
---|
Dim source As SheetSkin
Dim instance As New SheetSkin(source) |
Parameters
- source
- SheetSkin from which to copy, or null to copy from DefaultSkins.Default
Remarks
Example
This example creates a new skin and applies it to the component.
C# | Copy Code |
---|
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);
|
Visual Basic | Copy Code |
---|
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 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