# PageViewStyle Property

> Sets or returns how the page background is shown in page view: dark gray with txClassicColors or following the system color theme with txGradientColors.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > PageViewStyle Property
- **157 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageviewstyle-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageviewstyle-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pageviewstyle-property/llms-full.txt

---

Defines the kind of view to display the page background. The settings have only effect, if the [ViewMode](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/viewmode-property/llms-full.txt) property has been set to **PageView**.

Introduced: 14.0.

### Syntax

```vbscript
TXTextControl.PageViewStyle [= value]
```

| Setting | Description |
|---|---|
| txClassicColors (0) | The page background color is dark gray. |
| txGradientColors (1) | The page background color depends on the current system color theme settings. |

### Data Types

Integer.

### See Also

- [Programming Category: Sections and Pages](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/sections-pages/llms-full.txt)

---

## Nearby

- **Previous:** [PageStart Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagestart-property/llms-full.txt)
- **Next:** [PageWidth Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/pagewidth-property/llms-full.txt)
