Back to Devexpress

TableStyleCollection.Item[BuiltInPivotStyleId] Property

officefileapi-devexpress-dot-spreadsheet-dot-tablestylecollection-dot-item-x28-devexpress-dot-spreadsheet-dot-builtinpivotstyleid-x29.md

latest2.1 KB
Original Source

TableStyleCollection.Item[BuiltInPivotStyleId] Property

Returns the built-in PivotTable style by its identifier.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
TableStyle this[BuiltInPivotStyleId id] { get; }
vb
ReadOnly Property Item(id As BuiltInPivotStyleId) As TableStyle

Parameters

NameTypeDescription
idDevExpress.Spreadsheet.BuiltInPivotStyleId

A DevExpress.Spreadsheet.BuiltInPivotStyleId enumerator member.

|

Property Value

TypeDescription
TableStyle

A TableStyle object specifying the pivot table style with the specified identifier.

|

Remarks

By default, the TableStyleCollection collection contains a set of built-in pivot table styles similar to Microsoft® Excel®. Use the Item property to access these pivot table styles by their identifiers represented by the DevExpress.Spreadsheet.BuiltInPivotStyleId enumeration members.

Note

Note that built-in pivot table styles cannot be modified or removed from the collection.

See Also

How to: Apply a Predefined Style to a Pivot Table

TableStyleCollection Interface

TableStyleCollection Members

DevExpress.Spreadsheet Namespace