# PlainTextContentControl Constructor

> Initializes a new instance of the PlainTextContentControl class.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Constructor
- **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
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.DocumentServer.Fields > PlainTextContentControl Constructor
- **522 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/plaintextcontentcontrol/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/plaintextcontentcontrol/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/plaintextcontentcontrol/constructor/llms-full.txt

---

### Description

Initializes a new instance of the PlainTextContentControl class.

### Syntax

#### PlainTextContentControl()

Initializes complete new instance of the PlainTextContentControl class without a connection to an existing ApplicationField.

```csharp
public PlainTextContentControl();
```

```vbnet
Public Sub New()
```

#### PlainTextContentControl(ApplicationField)

Initializes a new instance of the PlainTextContentControl class with a connection to an existing ApplicationField.

```csharp
public PlainTextContentControl(ApplicationField appField);
```

```vbnet
Public Sub New(appField As ApplicationField)
```

| Parameter | Description |
|---|---|
| appField | Specifies the ApplicationField to be adapted. |

### 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"
```

---

## Nearby

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