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 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2