Back to Devexpress

TableStyleCollection Members

officefileapi-devexpress-dot-spreadsheet-dot-tablestylecollection-dot-underscore-members.md

latest1.9 KB
Original Source

TableStyleCollection Members

A collection of table and PivotTable styles in a workbook.

Properties

NameDescription
CountGets the number of table styles in the collection.
DefaultPivotStyleGets or sets the default pivot table style.
DefaultStyleSpecifies the default table style.
Item[BuiltInPivotStyleId]Returns the built-in PivotTable style by its identifier.
Item[BuiltInTableStyleId]Returns the built-in table style by its identifier.
Item[String]Returns the table style or PivotTable style by its name.

Methods

NameDescription
Add(String)Creates a new table or PivotTable style with the specified name and appends it to the style collection.
Contains(String)Indicates whether the collection contains the table or PivotTable style with the specified name.
Remove(String)Removes the table or PivotTable style with the specified name from the collection.

See Also

TableStyleCollection Interface

DevExpress.Spreadsheet Namespace