# Styles Property

> Returns the Styles collection with all formatting styles of the document of the TXTextControl, a collection of Style objects. Read only, run time only.

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

---

Returns a collection of all formatting styles in a document.

### Syntax

```vbscript
TXTextControl.Styles
```

### Data Types

[Styles Collection](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/llms-full.txt) object.

### Limitations

Read only, run time only.

### See Also

- [Styles Collection](https://docs.textcontrol.com/tx-text-control-activex/reference/styles/llms-full.txt)
- [Style Object](https://docs.textcontrol.com/tx-text-control-activex/reference/style/llms-full.txt)
- [Programming Category: Stylesheet Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/stylesheet-programming/llms-full.txt)

---

## Nearby

- **Previous:** [StyleListChanged Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/stylelistchanged-event/llms-full.txt)
- **Next:** [SupportedFonts Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/supportedfonts-property/llms-full.txt)
