[]
Creates a new skin and copies the property values from the source skin.
public SheetSkin(SheetSkin source)
Public Sub New(source As SheetSkin)
Type | Name | Description |
---|---|---|
SheetSkin | source | SheetSkin from which to copy, or null to copy from DefaultSkins.Default |
Creates a new skin with the property values of the active sheet of the specified Spread component.
public SheetSkin(FpSpread spread)
Public Sub New(spread As FpSpread)
Type | Name | Description |
---|---|---|
FpSpread | spread | Spread component |
Creates a new skin with the specified settings.
public SheetSkin(string name, Color backColor, Color cellBackColor, Color cellForeColor, int cellSpacing, Color gridLineColor, GridLines gridLines, Color headerBackColor, Color headerForeColor, Color selectionBackColor, Color selectionForeColor, Color evenRowBackColor, Color oddRowBackColor, bool flatColumnHeader, bool flatRowHeader, bool headerFontBold, bool showColumnHeader, bool showRowHeader)
Public Sub New(name As String, backColor As Color, cellBackColor As Color, cellForeColor As Color, cellSpacing As Integer, gridLineColor As Color, gridLines As GridLines, headerBackColor As Color, headerForeColor As Color, selectionBackColor As Color, selectionForeColor As Color, evenRowBackColor As Color, oddRowBackColor As Color, flatColumnHeader As Boolean, flatRowHeader As Boolean, headerFontBold As Boolean, showColumnHeader As Boolean, showRowHeader As Boolean)
Type | Name | Description |
---|---|---|
string | name | Name of the skin |
Color | backColor | Background color for the sheet |
Color | cellBackColor | Background color of the cells |
Color | cellForeColor | Text color of the cells |
int | cellSpacing | Cell spacing in the table |
Color | gridLineColor | Grid line color |
GridLines | gridLines | Which grid lines are displayed |
Color | headerBackColor | Background color of the headers |
Color | headerForeColor | Text color of the headers |
Color | selectionBackColor | Background color of selected cells |
Color | selectionForeColor | Text color of selected cells |
Color | evenRowBackColor | Background color of even rows |
Color | oddRowBackColor | Background color of odd rows |
bool | flatColumnHeader | Whether flat headers are displayed (or default three-dimensional headers) |
bool | flatRowHeader | Whether flat headers are displayed (or default three-dimensional headers) |
bool | headerFontBold | Whether to show bold font in headers |
bool | showColumnHeader | Whether to display the column header |
bool | showRowHeader | Whether to display the row header |
Creates a new skin with the specified settings.
public SheetSkin(string name, Color backColor, Color cellBackColor, Color cellForeColor, int cellSpacing, Color gridLineColor, GridLines gridLines, Color headerBackColor, Color headerForeColor, Color selectionBackColor, Color selectionForeColor, Color evenRowBackColor, Color oddRowBackColor, bool flatColumnHeader, bool flatRowHeader, bool headerFontBold, bool showColumnHeader, bool showRowHeader, string filterBarParent, string filterBarHeaderParent, Color filterBarBackColor, Color filterBarForeColor, Color filterBarHeaderBackColor, Color filterBarHeaderForeColor, bool showFilterBar)
Public Sub New(name As String, backColor As Color, cellBackColor As Color, cellForeColor As Color, cellSpacing As Integer, gridLineColor As Color, gridLines As GridLines, headerBackColor As Color, headerForeColor As Color, selectionBackColor As Color, selectionForeColor As Color, evenRowBackColor As Color, oddRowBackColor As Color, flatColumnHeader As Boolean, flatRowHeader As Boolean, headerFontBold As Boolean, showColumnHeader As Boolean, showRowHeader As Boolean, filterBarParent As String, filterBarHeaderParent As String, filterBarBackColor As Color, filterBarForeColor As Color, filterBarHeaderBackColor As Color, filterBarHeaderForeColor As Color, showFilterBar As Boolean)
Type | Name | Description |
---|---|---|
string | name | Name of the skin |
Color | backColor | Background color for the sheet |
Color | cellBackColor | Background color of the cells |
Color | cellForeColor | Text color of the cells |
int | cellSpacing | Cell spacing in the table |
Color | gridLineColor | Grid line color |
GridLines | gridLines | Which grid lines are displayed |
Color | headerBackColor | Background color of the headers |
Color | headerForeColor | Text color of the headers |
Color | selectionBackColor | Background color of selected cells |
Color | selectionForeColor | Text color of selected cells |
Color | evenRowBackColor | Background color of even rows |
Color | oddRowBackColor | Background color of odd rows |
bool | flatColumnHeader | Whether flat headers are displayed (or default three-dimensional headers) |
bool | flatRowHeader | Whether flat headers are displayed (or default three-dimensional headers) |
bool | headerFontBold | Whether bold font in headers |
bool | showColumnHeader | Whether to display the column header |
bool | showRowHeader | Whether to display the row header |
string | filterBarParent | The filter bar parent. |
string | filterBarHeaderParent | The filter bar header parent. |
Color | filterBarBackColor | Backcolor of the filter bar. |
Color | filterBarForeColor | Forecolor of the filter bar. |
Color | filterBarHeaderBackColor | Backcolor of the filter bar header. |
Color | filterBarHeaderForeColor | Forecolor of the filter bar header. |
bool | showFilterBar | if set to |
Creates a new skin with the specified settings.
public SheetSkin(string name, Color backColor, Color cellBackColor, Color cellForeColor, int cellSpacing, Color gridLineColor, GridLines gridLines, Color headerBackColor, Color headerForeColor, Color selectionBackColor, Color selectionForeColor, Color evenRowBackColor, Color oddRowBackColor, bool flatColumnHeader, bool flatRowHeader, bool headerFontBold, bool showColumnHeader, bool showRowHeader, Background columnHeaderBackground, Background rowHeaderBackground, Background sheetCornerBackground, Color headerGrayAreaColor)
Public Sub New(name As String, backColor As Color, cellBackColor As Color, cellForeColor As Color, cellSpacing As Integer, gridLineColor As Color, gridLines As GridLines, headerBackColor As Color, headerForeColor As Color, selectionBackColor As Color, selectionForeColor As Color, evenRowBackColor As Color, oddRowBackColor As Color, flatColumnHeader As Boolean, flatRowHeader As Boolean, headerFontBold As Boolean, showColumnHeader As Boolean, showRowHeader As Boolean, columnHeaderBackground As Background, rowHeaderBackground As Background, sheetCornerBackground As Background, headerGrayAreaColor As Color)
Type | Name | Description |
---|---|---|
string | name | Name of the skin |
Color | backColor | Background color for the sheet |
Color | cellBackColor | Background color of the cells |
Color | cellForeColor | Text color of the cells |
int | cellSpacing | Cell spacing in the table |
Color | gridLineColor | Grid line color |
GridLines | gridLines | Which grid lines are displayed |
Color | headerBackColor | Background color of the headers |
Color | headerForeColor | Text color of the headers |
Color | selectionBackColor | Background color of selected cells |
Color | selectionForeColor | Text color of selected cells |
Color | evenRowBackColor | Background color of even rows |
Color | oddRowBackColor | Background color of odd rows |
bool | flatColumnHeader | Whether flat headers are displayed (or default three-dimensional headers) |
bool | flatRowHeader | Whether flat headers are displayed (or default three-dimensional headers) |
bool | headerFontBold | Whether bold font in headers |
bool | showColumnHeader | Whether to display the column header |
bool | showRowHeader | Whether to display the row header |
Background | columnHeaderBackground | Column header background |
Background | rowHeaderBackground | Row header background |
Background | sheetCornerBackground | Sheet corner background |
Color | headerGrayAreaColor | Color of the header gray area |
Creates a new skin with the property settings of the specified sheet.
public SheetSkin(SheetView sheetView)
Public Sub New(sheetView As SheetView)
Type | Name | Description |
---|---|---|
SheetView | sheetView | SheetView, or null to initialize using DefaultSkins.Default |
Creates a new skin from serialization.
protected SheetSkin(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Type | Name | Description |
---|---|---|
SerializationInfo | info | SerializationInfo |
StreamingContext | context | StreamingContext |