# TextControl.BackgroundStyle Property

> Defines the kind of view to display the page background. The settings have only effect, if the ViewMode property has been set to PageView.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 14.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TextControl.BackgroundStyle Property
- **377 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/backgroundstyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/backgroundstyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/backgroundstyle-property/llms-full.txt

---

### Description

Defines the kind of view to display the page background. The settings have only effect, if the ViewMode property has been set to PageView.

### Syntax

```csharp
public BackgroundStyle BackgroundStyle { get; set; }
```

```vbnet
Public Property BackgroundStyle As BackgroundStyle
```

### Members

| Value | Description |
|---|---|
| ColorScheme | The page background colors depend on the color scheme currently set through the system or on the colors set with the [DisplayColors](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/displaycolors-property/llms-full.txt) property. |
| ClassicColors | The page background color is dark gray. |

### Examples

The following example uses `TextControl.BackgroundStyle` to configure background style as part of the text control workflow. The change is then applied to the active document or user interface.

```csharp
textControl.BackgroundStyle = BackgroundStyle.ColorScheme;
textControl.Update();
```

```vbnet
textControl.BackgroundStyle = BackgroundStyle.ColorScheme
textControl.Update()
```

---

## Nearby

- **Previous:** [TextControl.BackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/backcolor-property/llms-full.txt)
- **Next:** [TextControl.BarcodeClicked Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/barcodeclicked-event/llms-full.txt)
