| Visual Basic (Declaration) | |
|---|---|
Public Property Skin As SpreadSkin | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As FpSpread Dim value As SpreadSkin instance.Skin = value value = instance.Skin | |
| C# | |
|---|---|
public SpreadSkin Skin {get; set;} | |
This example applies the default skin to the spreadsheet.
| C# | Copy Code |
|---|---|
FarPoint.Win.Spread.SpreadSkin sk = fpSpread1.Skin; foreach (sk in FarPoint.Win.Spread.DefaultSpreadSkins.Skins) { if (sk.Name == "Default") { sk.Apply(fpSpread1); } } | |
| Visual Basic | Copy Code |
|---|---|
Dim sk As FarPoint.Win.Spread.SpreadSkin = FpSpread1.Skin For Each sk In FarPoint.Win.Spread.DefaultSpreadSkins.Skins If sk.Name = "Default" Then sk.Apply(FpSpread1) End If Next | |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8