[]
Represents the collection of table style elements in a table style.
This interface provides access to the individual ITableStyleElement
objects that define formatting for specific parts of a table style, such as the
whole table, header row, or total row. Use TableStyleElements
to obtain an ITableStyleElements instance.
public interface ITableStyleElements
Public Interface ITableStyleElements
ITableStyle tableStyle = workbook.TableStyles.Add("CustomStyle");
ITableStyleElements elements = tableStyle.TableStyleElements;
ITableStyleElement wholeTable = elements[TableStyleElementType.WholeTable];
int count = elements.Count;
| Name | Description |
|---|---|
| Count | Gets the number of table style elements in this collection.
This property returns the number of ITableStyleElement objects
available through the current |
| this[TableStyleElementType] | Gets the table style element for the specified element type. |