# PivotStyle Class

> PivotStyle class in the TX Sheet Control .NET API: Portable pivot colors, banding and Excel style identity. Shown with a C# example.

- **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)
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > PivotStyle Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/llms-full.txt

---

## On This Page

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

---

## In This Section

- [PivotStyle.BandColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/bandcolor-property/llms.txt): PivotStyle.BandColor property in the TX Sheet Control .NET API: Alternating band fill as #RRGGBB. Shown with its type string? and a C# example.
- [PivotStyle.ColumnBanding Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/columnbanding-property/llms.txt): PivotStyle.ColumnBanding property in the TX Sheet Control .NET API: Apply alternating column fill. Shown with its type "true" and a C# example.
- [PivotStyle.GrandTotalColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/grandtotalcolor-property/llms.txt): PivotStyle.GrandTotalColor property in the TX Sheet Control .NET API: Grand-total fill as #RRGGBB. Shown with its type string? and a C# example.
- [PivotStyle.HeaderColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/headercolor-property/llms.txt): PivotStyle.HeaderColor property in the TX Sheet Control .NET API: Header fill as #RRGGBB. Shown with its type string? and a C# example.
- [PivotStyle.HeaderTextColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/headertextcolor-property/llms.txt): PivotStyle.HeaderTextColor property in the TX Sheet Control .NET API: Header text as #RRGGBB. Shown with its type string? and a C# example.
- [PivotStyle.Name Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/name-property/llms.txt): PivotStyle.Name property in the .NET API: Table style preset such as TableStyleDark2, or an empty name to clear it; explicit colors override it.
- [PivotStyle.RowBanding Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/rowbanding-property/llms.txt): PivotStyle.RowBanding property in the TX Sheet Control .NET API: Apply alternating row fill. Shown with its type "true" and a C# example.
- [PivotStyle.SubtotalColor Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/subtotalcolor-property/llms.txt): PivotStyle.SubtotalColor property in the TX Sheet Control .NET API: Subtotal fill as #RRGGBB. Shown with its type string? and a C# example.

---

## Nearby

- **Previous:** [PivotSource.NamedRange Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotsource/namedrange-property/llms.txt)
- **Next:** [PivotStyle.Name Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/pivotstyle/name-property/llms.txt)
