Class XlsxPivotField
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
A field on a pivot table's rows, columns or filters, as the pivot table states it.
public sealed class XlsxPivotField
- Inheritance
-
XlsxPivotField
- Inherited Members
Properties
- Formula
Gets a calculated field's formula (as
Units*Price), or null for a field of the source.
- HiddenItems
Gets the items the field hides (Excel's unticked filter items).
- Items
Gets the field's items in the order the pivot table shows them, hidden ones included, each as the cache holds it: a text as it is, a number or date as invariant text, a group's name as Excel wrote it (in the language Excel ran in). Empty for a field whose items the pivot table does not list.
- Name
Gets the field's name: the source column's heading, or a grouped field's (such as "Months (Date)").
- SelectedItem
Gets the item a filter field (a page field) shows; null when it shows them all, and for a row or column field.
- Sort
Gets how the field's items are ordered.
- Subtotals
Gets whether the field shows a subtotal for each of its items' groups.