[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITableStyleElements

ITableStyleElements Interface

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.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface ITableStyleElements
Public Interface ITableStyleElements
Examples
ITableStyle tableStyle = workbook.TableStyles.Add("CustomStyle");
ITableStyleElements elements = tableStyle.TableStyleElements;
ITableStyleElement wholeTable = elements[TableStyleElementType.WholeTable];
int count = elements.Count;

Properties

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 ITableStyleElements collection.

this[TableStyleElementType]

Gets the table style element for the specified element type.