Spread Windows Forms 7.0 Product Documentation
Skin Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : Skin Property


Glossary Item Box

Gets or sets the skin for the spread.

Syntax

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;}

Example

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 BasicCopy 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

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.