[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITable.TableStyle

TableStyle Property

TableStyle

Gets or sets the table style applied to the table.

Use this property to apply or retrieve a built-in or custom table style for the table.

Declaration
ITableStyle TableStyle { get; set; }
Property TableStyle As ITableStyle
Examples
worksheet.Range["A1:B3"].Value = new object[,] {
    {"Name", "Value"},
    {"Apple", 100},
    {"Orange", 200}
};
ITable table = worksheet.Tables.Add(worksheet.Range["A1:B3"], true);
table.TableStyle = workbook.TableStyles["TableStyleLight11"];
ITableStyle tableStyle = table.TableStyle;