Spread for ASP.NET 8.0 Product Documentation
Simple2 Property
Example 


Represents the built-in skin, Simple2.
Syntax
'Declaration
 
Public Shared ReadOnly Property Simple2 As SheetSkin
'Usage
 
Dim value As SheetSkin
 
value = DefaultSkins.Simple2
public static SheetSkin Simple2 {get;}

Property Value

SheetSkin object containing the pre-defined skin
Remarks

This picture illustrates a sheet that has the pre-defined Simple2 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 Simple2 skin to the sheet in the component.
FarPoint.Web.Spread.DefaultSkins.Simple2.Apply(FpSpread1);
FarPoint.Web.Spread.DefaultSkins.Simple2.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

Reference

DefaultSkins Class
DefaultSkins Members
EnableClientScript Property

 

 


Copyright © GrapeCity, inc. All rights reserved.