Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TableStyleCollection Members

In This Article
A collection of table and PivotTable styles in a workbook.

#Properties

Name Description
Count Gets the number of table styles in the collection.
DefaultPivotStyle Gets or sets the default pivot table style.
DefaultStyle Specifies 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

Name Description
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