[]
Gets the table style element for the specified element type.
ITableStyleElement this[TableStyleElementType index] { get; }
ReadOnly Default Property Item(index As TableStyleElementType) As ITableStyleElement
| Type | Name | Description |
|---|---|---|
| TableStyleElementType | index | The table style element type to retrieve. |
| Type | Description |
|---|---|
| ITableStyleElement | The table style element for the specified element type. |
ITableStyle tableStyle = workbook.TableStyles.Add("CustomTableStyle");
ITableStyleElement header = tableStyle.TableStyleElements[TableStyleElementType.HeaderRow];
bool bold = header.Font.Bold;