# MergeField.TextAfter Property

> Gets and sets the text of the field that is displayed after the field's text.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 15.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 > MergeField.TextAfter Property
- **405 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/mergefield/textafter-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/mergefield/textafter-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/mergefield/textafter-property/llms-full.txt

---

### Description

Gets and sets the text of the field that is displayed after the field's text.

### Syntax

```csharp
public string TextAfter { get; set; }
```

```vbnet
Public Property TextAfter As String
```

### Examples

The following example uses `MergeField.TextAfter` to configure text after as part of the merge field workflow. The configured value is checked before the workflow continues.

```csharp
mergeField.TextAfter = "Quarterly results";
if (!string.IsNullOrWhiteSpace(mergeField.TextAfter))
{
    Console.WriteLine($"Text After: {mergeField.TextAfter}");
}
```

```vbnet
mergeField.TextAfter = "Quarterly results"
If Not String.IsNullOrWhiteSpace(mergeField.TextAfter) Then
    Console.WriteLine($"Text After: {mergeField.TextAfter}")
End If
```

---

## Nearby

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