Spread Windows Forms 10.0 Product Documentation
Default Property (DefaultSpreadSkins)
Example 


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

Property Value

SpreadSkin object containing the default values
Example
This example applies the default DefaultSpreadSkins to the spreadsheet.
fpSpread1.ActiveSheet.ColumnHeader.DefaultStyle.Renderer = new FarPoint.Win.Spread.CellType.ColumnHeaderRenderer();
fpSpread1.ActiveSheet.RowHeader.DefaultStyle.Renderer = new FarPoint.Win.Spread.CellType.RowHeaderRenderer();
fpSpread1.ActiveSheet.SheetCorner.DefaultStyle.Renderer = new FarPoint.Win.Spread.CellType.CornerRenderer();
fpSpread1.InterfaceRenderer = null;

FarPoint.Win.Spread.DefaultSpreadSkins.Default.Apply(fpSpread1);
FpSpread1.ActiveSheet.ColumnHeader.DefaultStyle.Renderer = New FarPoint.Win.Spread.CellType.ColumnHeaderRenderer
FpSpread1.ActiveSheet.RowHeader.DefaultStyle.Renderer = New FarPoint.Win.Spread.CellType.RowHeaderRenderer
FpSpread1.ActiveSheet.SheetCorner.DefaultStyle.Renderer = New FarPoint.Win.Spread.CellType.CornerRenderer
FpSpread1.InterfaceRenderer = Nothing

FarPoint.Win.Spread.DefaultSpreadSkins.Default.Apply(FpSpread1)
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

DefaultSpreadSkins Class
DefaultSpreadSkins Members

 

 


Copyright © GrapeCity, inc. All rights reserved.