Spread Windows Forms 12.0 Product Documentation
Skin Property (FpSpread)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : Skin Property
Gets or sets the skin for the spread.
Syntax
'Declaration
 
Public Property Skin As SpreadSkin
'Usage
 
Dim instance As FpSpread
Dim value As SpreadSkin
 
instance.Skin = value
 
value = instance.Skin
public SpreadSkin Skin {get; set;}
Example
This example applies the default skin to the spreadsheet.
FarPoint.Win.Spread.SpreadSkin sk = fpSpread1.Skin;
foreach (sk in FarPoint.Win.Spread.DefaultSpreadSkins.Skins) 
{
if (sk.Name == "Default") 
{
sk.Apply(fpSpread1);
}
}
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
See Also

Reference

FpSpread Class
FpSpread Members