Spread for ASP.NET 10 Product Documentation
ActiveSkin Property
Example 


Gets or sets the current active skin.
Syntax
'Declaration
 
Public Property ActiveSkin As SheetSkin
'Usage
 
Dim instance As SheetView
Dim value As SheetSkin
 
instance.ActiveSkin = value
 
value = instance.ActiveSkin
public SheetSkin ActiveSkin {get; set;}

Property Value

SheetSkin object containing the skin
Remarks

This property is available at run time only.

The skin defines the appearance of the sheet. For more information on applying built-in skins or creating your own, refer to Applying a Skin to a Sheet and Creating a Custom Skin.

Example
This example assigns the Classic2 skin to the sheet.
if (IsPostBack)
{
return;
}
FarPoint.Web.Spread.SheetView sv = new FarPoint.Web.Spread.SheetView();
FarPoint.Web.Spread.DefaultSkins sk = new FarPoint.Web.Spread.DefaultSkins();
sv.ActiveSkin = sk.Classic2;
FpSpread1.Sheets.Add(sv);
If IsPostBack Then
Return
End If
Dim sv As New FarPoint.Web.Spread.SheetView
Dim sk As New FarPoint.Web.Spread.DefaultSkins
sv.ActiveSkin = sk.Classic2
FpSpread1.Sheets.Add(sv)
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

SheetView Class
SheetView Members
SheetSkin Class
DefaultSkins Class

User-Task Documentation

Applying a Skin to a Sheet

 

 


Copyright © GrapeCity, inc. All rights reserved.