[]
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.
ITableStyle TableStyle { get; set; }
Property TableStyle As ITableStyle
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;