TableStyleElements TableStyleElements TableStyleElements Interface


Represents table style elements.

public interface class TableStyleElements : System::Collections::IEnumerable
public interface TableStyleElements : System.Collections.IEnumerable
Public Interface TableStyleElements
Implements 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.


_Default[XlTableStyleElementType] _Default[XlTableStyleElementType] _Default[XlTableStyleElementType]

Reserved for internal use.

Application Application Application

When used without an object qualifier, this property returns an _Application object that represents the Microsoft Office Excel application. When used with an object qualifier, this property returns an _Application object that represents the creator of the specified object. Read-only.

Count Count Count

Returns the number of objects in the collection. Read-only.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only.

Parent Parent Parent

Returns the parent object for the specified object. Read-only.


GetEnumerator() GetEnumerator() GetEnumerator()
Item(XlTableStyleElementType) Item(XlTableStyleElementType) Item(XlTableStyleElementType)

Returns a single object from a collection.

Applies to