Spread for ASP.NET 7.0 Product Documentation
Skins Field
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultSkins Class : Skins Field


Glossary Item Box

Array of SheetSkin objects that contains the built-in skins.

Syntax

Visual Basic (Declaration) 
Public Shared Skins As SheetSkin()
Visual Basic (Usage)Copy Code
Dim value() As SheetSkin
 
value = DefaultSkins.Skins
 
DefaultSkins.Skins = value
C# 
public static SheetSkin[] Skins

Field Value

SheetSkin object containing the skin

Example

This example applies each skin to the sheet in the component.
C#Copy Code
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
foreach(FarPoint.Web.Spread.SheetSkin sk in FarPoint.Web.Spread.DefaultSkins.Skins)
{
     sk.Apply(FpSpread1);
}
Visual BasicCopy Code
Dim ds As New FarPoint.Web.Spread.DefaultSkins
Dim sk As FarPoint.Web.Spread.SheetSkin
For Each sk In ds.Skins
     sk.Apply(FpSpread1)
Next

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

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