Spread.Sheets Documentation
TableStyle type
GC.Spread.Sheets.Tables Namespace : TableStyle type
Represents table style information.
Syntax
var instance = new GC.Spread.Sheets.Tables.TableStyle(backColor,
                                                     foreColor,
                                                     font,
                                                     borderLeft,
                                                     borderTop,
                                                     borderRight,
                                                     borderBottom,
                                                     borderHorizontal,
                                                     borderVertical,
                                                     textDecoration);
function TableStyle;
Example
//This example creates a table.
var tableStyle = new GC.Spread.Sheets.Tables.TableTheme();
var thinBorder = new GC.Spread.Sheets.LineBorder("black", GC.Spread.Sheets.LineStyle.dotted);
tableStyle.wholeTableStyle(new GC.Spread.Sheets.Tables.TableStyle("aliceblue", "green", "bold 10pt arial", thinBorder, thinBorder, thinBorder, thinBorder, thinBorder, thinBorder));
var tableStyleInfo = new GC.Spread.Sheets.Tables.TableStyle(
    "black",
    "white",
    "bold 11pt arial",
    new GC.Spread.Sheets.LineBorder("green", GC.Spread.Sheets.LineStyle.thin),
    new GC.Spread.Sheets.LineBorder("red", GC.Spread.Sheets.LineStyle.thick),
    new GC.Spread.Sheets.LineBorder("yellow", GC.Spread.Sheets.LineStyle.thin),
    new GC.Spread.Sheets.LineBorder("blue", GC.Spread.Sheets.LineStyle.thick));
tableStyle.headerRowStyle(tableStyleInfo);
var table = activeSheet.tables.add("table1", 1, 1, 5, 5, tableStyle);
Inheritance Hierarchy

Object
   GC.Spread.Sheets.Tables.TableStyle

Constructors
 NameDescription
public ConstructorRepresents table style information.  
Top
Fields
 NameDescription
public FieldIndicates the background color.  
public FieldIndicates the bottom border line of the table.  
public FieldIndicates the horizontal border line of the table.  
public FieldIndicates the left border line of the table.  
public FieldIndicates the right border line of the table.  
public FieldIndicates the top border line of the table.  
public FieldIndicates the vertical border line of the table.  
public FieldIndicates the font.  
public FieldIndicates the foreground color.  
public FieldIndicates the text decoration of the table.  
Top
See Also

Reference

GC.Spread.Sheets.Tables Namespace
Creating Tables