# PlainTextContentControl Class

> The PlainTextContentControl 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 WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **Package:** `TXTextControl.TextControl.WPF.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 WPF > Reference > TXTextControl.DocumentServer.Fields > PlainTextContentControl Class
- **1216 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/plaintextcontentcontrol/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/plaintextcontentcontrol/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/plaintextcontentcontrol/llms-full.txt

---

### Description

The PlainTextContentControl 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-wpf/reference/txtextcontrol/applicationfield/llms-full.txt) that should be modified using this adapter.

### Syntax

```csharp
public class PlainTextContentControl : ContentControlFieldAdapter
```

```vbnet
Public Class PlainTextContentControl
    Inherits ContentControlFieldAdapter
```

### Examples

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

```csharp
TXTextControl.DocumentServer.Fields.PlainTextContentControl plainTextContentControl = new();
plainTextContentControl.Text = "Quarterly results";
```

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

---

## In This Section

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

---

## Nearby

- **Previous:** [NextIfField.Result Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/nextiffield/result-property/llms-full.txt)
- **Next:** [PlainTextContentControl Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/plaintextcontentcontrol/constructor/llms-full.txt)
