# TextViewGenerator.Colors Class

> The TextViewGenerator.Colors class gets, sets or resets the display colors of a TextViewGenerator component. By default the display colors depend on sytem colors or a default value. With this class all colors can be individually designed.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Server.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Inherits:** `TXTextControl.ServerVisualisation.ColorBase`
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > TextViewGenerator.Colors Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/#members)

---

## In This Section

- [TextViewGenerator.Colors.ActiveFormFieldColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/activeformfieldcolor-property/llms.txt): Gets or sets the highlight color of a form field containing the current text input position. To suppress highlighting the active FormField the property value can be set to Color.Transparent.
- [TextViewGenerator.Colors Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/constructor/llms.txt): Initializes a new instance of the TextViewGenerator.Colors class. After creating the object with this constuctor, individual colors can be set. If the Colors object is assigned to the DisplayColors property, non-set colors are reset to their default values.
- [TextViewGenerator.Colors.DarkShadowColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/darkshadowcolor-property/llms.txt): Gets or sets the display color for the shadow at the right and the bottom edge of the pages.
- [TextViewGenerator.Colors.DesktopColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/desktopcolor-property/llms.txt): Gets or sets the display color for the area around the pages.
- [TextViewGenerator.Colors.FormFieldColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/formfieldcolor-property/llms.txt): Gets or sets the highlight color of a form field. This color can be overwritten with the TextField.HighlightColor property. To suppress highlighting a FormField the property value can be set to Color.Transparent.
- [TextViewGenerator.Colors.HeaderFooterLabelColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/headerfooterlabelcolor-property/llms.txt): Gets or sets the display color for the label showing which header or footer is activated.
- [TextViewGenerator.Colors.HeaderFooterLineColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/headerfooterlinecolor-property/llms.txt): Gets or sets the display color for the dividing line between headers and footers and the main text.
- [TextViewGenerator.Colors.LightShadowColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/lightshadowcolor-property/llms.txt): Gets or sets the display color for the shadow at the left and the top edge of the pages.
- [TextViewGenerator.Colors.ResetActiveFormFieldColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/resetactiveformfieldcolor-method/llms.txt): Resets the text control's ActiveFormFieldColor to its default value.
- [TextViewGenerator.Colors.ResetDarkShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/resetdarkshadowcolor-method/llms.txt): Resets the text control's DarkShadowColor to its system dependent default value.
- [TextViewGenerator.Colors.ResetDesktopColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/resetdesktopcolor-method/llms.txt): Resets the text control's DesktopColor to its system dependent default value.
- [TextViewGenerator.Colors.ResetFormFieldColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/resetformfieldcolor-method/llms.txt): Resets the text control's FormFieldColor to its default value.
- [TextViewGenerator.Colors.ResetHeaderFooterLabelColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/resetheaderfooterlabelcolor-method/llms.txt): Resets the text control's HeaderFooterLabelColor to its system dependent default value.
- [TextViewGenerator.Colors.ResetHeaderFooterLineColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/resetheaderfooterlinecolor-method/llms.txt): Resets the text control's HeaderFooterLineColor to its system dependent default value.
- [TextViewGenerator.Colors.ResetLightShadowColor Method](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/resetlightshadowcolor-method/llms.txt): Resets the text control's LightShadowColor to its system dependent default value.

---

## Nearby

- **Previous:** [TextViewGenerator.ChartSelected Event](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator/chartselected-event/llms.txt)
- **Next:** [TextViewGenerator.Colors.ActiveFormFieldColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/textviewgenerator-colors/activeformfieldcolor-property/llms.txt)
