[]
        
(Showing Draft Content)

FarPoint.Web.Spread.SheetSkin.-ctor

SheetSkin Constructor

SheetSkin(SheetSkin)

Creates a new skin and copies the property values from the source skin.

Declaration
public SheetSkin(SheetSkin source)
Public Sub New(source As SheetSkin)
Parameters
Type Name Description
SheetSkin source

SheetSkin from which to copy, or null to copy from DefaultSkins.Default

SheetSkin(FpSpread)

Creates a new skin with the property values of the active sheet of the specified Spread component.

Declaration
public SheetSkin(FpSpread spread)
Public Sub New(spread As FpSpread)
Parameters
Type Name Description
FpSpread spread

Spread component

SheetSkin(string, Color, Color, Color, int, Color, GridLines, Color, Color, Color, Color, Color, Color, bool, bool, bool, bool, bool)

Creates a new skin with the specified settings.

Declaration
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)
Parameters
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

SheetSkin(string, Color, Color, Color, int, Color, GridLines, Color, Color, Color, Color, Color, Color, bool, bool, bool, bool, bool, string, string, Color, Color, Color, Color, bool)

Creates a new skin with the specified settings.

Declaration
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)
Parameters
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 true, the filter bar displays.

SheetSkin(string, Color, Color, Color, int, Color, GridLines, Color, Color, Color, Color, Color, Color, bool, bool, bool, bool, bool, Background, Background, Background, Color)

Creates a new skin with the specified settings.

Declaration
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)
Parameters
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

SheetSkin(SheetView)

Creates a new skin with the property settings of the specified sheet.

Declaration
public SheetSkin(SheetView sheetView)
Public Sub New(sheetView As SheetView)
Parameters
Type Name Description
SheetView sheetView

SheetView, or null to initialize using DefaultSkins.Default

SheetSkin(SerializationInfo, StreamingContext)

Creates a new skin from serialization.

Declaration
protected SheetSkin(SerializationInfo info, StreamingContext context)
Protected Sub New(info As SerializationInfo, context As StreamingContext)
Parameters
Type Name Description
SerializationInfo info

SerializationInfo

StreamingContext context

StreamingContext