Spread ASP.NET 6.0 Product Documentation
Default Property
See Also  Example Send Feedback
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > DefaultSkins Class : Default Property


Glossary Item Box

Represents the skin for resetting the skin properties to the default values.

Syntax

Visual Basic (Declaration) 
Public Shared ReadOnly Property Default As SheetSkin
Visual Basic (Usage)Copy Code
Dim value As SheetSkin
 
value = DefaultSkins.Default
C# 
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.
C#Copy Code
FarPoint.Web.Spread.DefaultSkins ds = new FarPoint.Web.Spread.DefaultSkins();
ds.Default.Apply(FpSpread1);
Visual BasicCopy Code
Dim ds As New FarPoint.Web.Spread.DefaultSkins
ds.Default.Apply(FpSpread1)

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2002-2012 GrapeCity, Inc. All Rights Reserved.