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


Glossary Item Box

Represents the built-in skin, Classic2.

Syntax

Visual Basic (Declaration) 
Public Shared ReadOnly Property Classic2 As SheetSkin
Visual Basic (Usage)Copy Code
Dim value As SheetSkin
 
value = DefaultSkins.Classic2
C# 
public static SheetSkin Classic2 {get;}

Property Value

SheetSkin object containing the pre-defined skin

Remarks

This picture illustrates a sheet that has the pre-defined Classic2 skin applied.

If you have set the FpSpread.EnabledClientScript property to the component to true, the selected text color does not change. If you set the property to false, the selected text color changes according to the setting in the skin.

Example

This example applies the built-in Classic2 skin to the sheet in the component.
C#Copy Code
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
ds.Classic2.Apply(FpSpread1);
Visual BasicCopy Code
Dim ds As New FarPoint.Web.Spread.DefaultSkins
ds.Classic2.Apply(FpSpread1)

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.