# RichTextContentControl Class

> The RichTextContentControl implements the MS Word specific plain text content control field. This field must be used in combination with an ApplicationField that should be modified using this adapter.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXDocumentServer.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXDocumentServer.dll` from the setup
- **Inherits:** `TXTextControl.DocumentServer.Fields.FieldAdapter` › `TXTextControl.DocumentServer.Fields.ContentControlFieldAdapter`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer.Fields > RichTextContentControl Class
- **1230 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/richtextcontentcontrol/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/richtextcontentcontrol/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/richtextcontentcontrol/llms-full.txt

---

### Description

The RichTextContentControl implements the MS Word specific plain text content control field. This field must be used in combination with an [ApplicationField](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/applicationfield/llms-full.txt) that should be modified using this adapter.

### Syntax

```csharp
public class RichTextContentControl : ContentControlFieldAdapter
```

```vbnet
Public Class RichTextContentControl
    Inherits ContentControlFieldAdapter
```

### Examples

The following example creates a Rich Text Content Control instance and configures its text setting for a document workflow.

```csharp
TXTextControl.DocumentServer.Fields.RichTextContentControl richTextContentControl = new();
richTextContentControl.Text = "Quarterly results";
```

```vbnet
Dim richTextContentControl As New TXTextControl.DocumentServer.Fields.RichTextContentControl()
richTextContentControl.Text = "Quarterly results"
```

---

## In This Section

- [RichTextContentControl Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/richtextcontentcontrol/constructor/llms-full.txt): Initializes a new instance of the RichTextContentControl class.
- [RichTextContentControl.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/richtextcontentcontrol/text-property/llms-full.txt): Gets or sets the text of the content control field.

---

## Nearby

- **Previous:** [PlainTextContentControl.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/plaintextcontentcontrol/text-property/llms-full.txt)
- **Next:** [RichTextContentControl Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/richtextcontentcontrol/constructor/llms-full.txt)
