Creates a new skin with the property settings of the specified sheet.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim sheetView As SheetView
Dim instance As New SheetSkin(sheetView) |
Parameters
- sheetView
- SheetView, or null to initialize using DefaultSkins.Default
Remarks
Example
This example creates a new skin and applies it to the component.
C# | Copy Code |
---|
FarPoint.Web.Spread.SheetView sv = new FarPoint.Web.Spread.SheetView();
sv.DefaultStyle.BackColor = Color.Wheat;
sv.ColumnHeader.DefaultStyle.BackColor = Color.LightGreen;
sv.RowHeader.DefaultStyle.BackColor = Color.YellowGreen;
FarPoint.Web.Spread.SheetSkin sk = new FarPoint.Web.Spread.SheetSkin(sv);
sk.Apply(FpSpread1);
|
Visual Basic | Copy Code |
---|
Dim sv As New FarPoint.Web.Spread.SheetView
sv.DefaultStyle.BackColor = Color.Wheat
sv.ColumnHeader.DefaultStyle.BackColor = Color.LightGreen
sv.RowHeader.DefaultStyle.BackColor = Color.YellowGreen
Dim sk As New FarPoint.Web.Spread.SheetSkin(sv)
sk.Apply(FpSpread1) |
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