Spread Windows Forms 6.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 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

See Also

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