Spread for ASP.NET 10 Product Documentation
Default Property (DefaultSkins)
Example 


Represents the skin for resetting the skin properties to the default values.
Syntax
'Declaration
 
Public Shared ReadOnly Property Default As SheetSkin
'Usage
 
Dim value As SheetSkin
 
value = DefaultSkins.Default
public static SheetSkin Default {get;}

Property Value

SheetSkin object containing the pre-defined skin
Remarks

This picture illustrates a sheet that has the pre-defined Default 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 Default skin to the sheet, that resets the sheet skin properties to their default values in the component.
FarPoint.Web.Spread.DefaultSkins.Default.Apply(FpSpread1);
FarPoint.Web.Spread.DefaultSkins.Default.Apply(FpSpread1)
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

DefaultSkins Class
DefaultSkins Members

 

 


Copyright © GrapeCity, inc. All rights reserved.