Spread for ASP.NET 11 Product Documentation
Classic2 Property
Example 


FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultSkins Class : Classic2 Property
Represents the built-in skin, Classic2.
Syntax
'Declaration
 
Public Shared ReadOnly Property Classic2 As SheetSkin
'Usage
 
Dim value As SheetSkin
 
value = DefaultSkins.Classic2
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.
FarPoint.Web.Spread.DefaultSkins.Classic2.Apply(FpSpread1);
FarPoint.Web.Spread.DefaultSkins.Classic2.Apply(FpSpread1)
See Also

Reference

DefaultSkins Class
DefaultSkins Members
EnableClientScript Property