This documentation is archived and is not being maintained.

TableStyleElements Interface

Represents table style elements.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

public interface TableStyleElements : IEnumerable

Table styles define formatting for one or all of the elements of a table or PivotTable. For example, a header row, last column, or total row are elements of a table and a table style can define that the fill color of the header row is blue, the last column is red.

A table style element in a table can have formatting specified in a table style applied to the element. XlTableStyleElementType enumeration contains the types of table style element that are available for use.