# PivotTableOptions Class

> PivotTableOptions class in the TX Sheet Control .NET API: Creation settings shared with JavaScript and TypeScript; settings are validated atomically.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Derived:** `TXTextControl.TXSheetControl.Server.PivotTableDefinition`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > PivotTableOptions Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/llms-full.txt

---

## On This Page

- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/#members)
- [Example](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/#example)
- [Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/#constructor)

---

## In This Section

- [PivotTableOptions.AllowMultipleFiltersPerField Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/allowmultiplefiltersperfield-property/llms.txt): PivotTableOptions.AllowMultipleFiltersPerField property in the TX Sheet Control .NET API, with its type bool? and a C# example.
- [PivotTableOptions.AutoFitColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/autofitcolumns-property/llms.txt): PivotTableOptions.AutoFitColumns property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [PivotTableOptions.AutoRefresh Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/autorefresh-property/llms.txt): PivotTableOptions.AutoRefresh property in the TX Sheet Control .NET API: Refresh the PivotTable automatically when its evaluated source observations change.
- [PivotTableOptions.CalculatedFields Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/calculatedfields-property/llms.txt): PivotTableOptions.CalculatedFields property in the TX Sheet Control .NET API, with its type PivotCalculatedField[]? and a C# example.
- [PivotTableOptions.ChartBindings Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/chartbindings-property/llms.txt): PivotTableOptions.ChartBindings property in the TX Sheet Control .NET API: Worksheet charts that follow the refreshed pivot output.
- [PivotTableOptions.ClassicLayout Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/classiclayout-property/llms.txt): PivotTableOptions.ClassicLayout property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [PivotTableOptions.Collapsed Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/collapsed-property/llms.txt): PivotTableOptions.Collapsed property in the TX Sheet Control .NET API, with its type PivotCollapsedPath[]? and a C# example.
- [PivotTableOptions.ColumnGrandTotals Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/columngrandtotals-property/llms.txt): PivotTableOptions.ColumnGrandTotals property in the TX Sheet Control .NET API: Include grand-total columns; defaults to true.
- [PivotTableOptions.Columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/columns-property/llms.txt): PivotTableOptions.Columns property in the TX Sheet Control .NET API: Ordered column fields. Shown with its type PivotAxisField[]? and a C# example.
- [PivotTableOptions.CompactIndent Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/compactindent-property/llms.txt): PivotTableOptions.CompactIndent property in the TX Sheet Control .NET API: Spaces per compact hierarchy level, 0–20; default 2.
- [PivotTableOptions.CustomSortLists Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/customsortlists-property/llms.txt): PivotTableOptions.CustomSortLists property in the TX Sheet Control .NET API, with its type string[][]? and a C# example.
- [PivotTableOptions.Destination Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/destination-property/llms.txt): PivotTableOptions.Destination property in the TX Sheet Control .NET API, with its type PivotDestination and a C# example.
- [PivotTableOptions.EmptyText Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/emptytext-property/llms.txt): PivotTableOptions.EmptyText property in the TX Sheet Control .NET API, with its syntax, its type string? and a C# example.
- [PivotTableOptions.ErrorText Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/errortext-property/llms.txt): PivotTableOptions.ErrorText property in the TX Sheet Control .NET API, with its syntax, its type string? and a C# example.
- [PivotTableOptions.FieldListSort Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/fieldlistsort-property/llms.txt): PivotTableOptions.FieldListSort property in the TX Sheet Control .NET API, with its syntax, its type string? and a C# example.
- [PivotTableOptions.FilterAreaLayout Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/filterarealayout-property/llms.txt): PivotTableOptions.FilterAreaLayout property in the TX Sheet Control .NET API, with its syntax, its type string? and a C# example.
- [PivotTableOptions.FilterFieldsPerLine Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/filterfieldsperline-property/llms.txt): PivotTableOptions.FilterFieldsPerLine property in the TX Sheet Control .NET API, with its syntax, its type int? and a C# example.
- [PivotTableOptions.Filters Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/filters-property/llms.txt): PivotTableOptions.Filters property in the TX Sheet Control .NET API: AND-combined filters. Shown with its type PivotFilter[]? and a C# example.
- [PivotTableOptions.Layout Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/layout-property/llms.txt): PivotTableOptions.Layout property in the TX Sheet Control .NET API: compact, outline, or tabular. Shown with its type string? and a C# example.
- [PivotTableOptions.MergeLabels Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/mergelabels-property/llms.txt): PivotTableOptions.MergeLabels property in the TX Sheet Control .NET API: Merge repeated column headers and outline/tabular ancestor row labels; default false.
- [PivotTableOptions.Name Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/name-property/llms.txt): PivotTableOptions.Name property in the TX Sheet Control .NET API: Workbook-unique portable identifier. Shown with its type string and a C# example.
- [PivotTableOptions.PreserveFormatting Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/preserveformatting-property/llms.txt): PivotTableOptions.PreserveFormatting property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [PivotTableOptions.RepeatLabels Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/repeatlabels-property/llms.txt): PivotTableOptions.RepeatLabels property in the TX Sheet Control .NET API: Repeat ancestor labels in tabular/outline output.
- [PivotTableOptions.RowGrandTotals Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/rowgrandtotals-property/llms.txt): PivotTableOptions.RowGrandTotals property in the TX Sheet Control .NET API: Include the grand-total row; defaults to true.
- [PivotTableOptions.Rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/rows-property/llms.txt): PivotTableOptions.Rows property in the TX Sheet Control .NET API: Ordered row fields. Shown with its type PivotAxisField[]? and a C# example.
- [PivotTableOptions.ShowContextualTooltips Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/showcontextualtooltips-property/llms.txt): PivotTableOptions.ShowContextualTooltips property in the TX Sheet Control .NET API, with its type bool? and a C# example.
- [PivotTableOptions.ShowExpandCollapseButtons Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/showexpandcollapsebuttons-property/llms.txt): PivotTableOptions.ShowExpandCollapseButtons property in the TX Sheet Control .NET API: Display independent row hierarchy expand/collapse controls; default true.
- [PivotTableOptions.ShowFieldButtons Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/showfieldbuttons-property/llms.txt): PivotTableOptions.ShowFieldButtons property in the TX Sheet Control .NET API: Show interactive field buttons in the editor.
- [PivotTableOptions.ShowHeaders Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/showheaders-property/llms.txt): PivotTableOptions.ShowHeaders property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [PivotTableOptions.ShowValuesRow Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/showvaluesrow-property/llms.txt): PivotTableOptions.ShowValuesRow property in the TX Sheet Control .NET API: Show a separate measure-caption header row even for a single measure; default false.
- [PivotTableOptions.Source Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/source-property/llms.txt): PivotTableOptions.Source property in the TX Sheet Control .NET API: Live source binding. Shown with its type PivotSource and a C# example.
- [PivotTableOptions.Style Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/style-property/llms.txt): PivotTableOptions.Style property in the TX Sheet Control .NET API: Native style and portable colors/banding. Shown with its type PivotStyle? and a C# example.
- [PivotTableOptions.Subtotals Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/subtotals-property/llms.txt): PivotTableOptions.Subtotals property in the TX Sheet Control .NET API: top, bottom, or none. Shown with its type string? and a C# example.
- [PivotTableOptions.UseCustomListsForSorting Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/usecustomlistsforsorting-property/llms.txt): PivotTableOptions.UseCustomListsForSorting property in the TX Sheet Control .NET API, with its type bool? and a C# example.
- [PivotTableOptions.Values Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/values-property/llms.txt): PivotTableOptions.Values property in the TX Sheet Control .NET API: Ordered measures; duplicate source fields may use different aggregations and captions.

---

## Nearby

- **Previous:** [PivotTableDefinition.OutputRange Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottabledefinition/outputrange-property/llms.txt)
- **Next:** [PivotTableOptions.Name Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivottableoptions/name-property/llms.txt)
