# FieldDisplayMode Enumeration

> Specifies identifiers to indicate the field display mode.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Enumeration
- **Namespace:** `TXTextControl.DocumentServer.DataSources`
- **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
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.DataSources > FieldDisplayMode Enumeration
- **445 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/fielddisplaymode/enumeration/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/fielddisplaymode/enumeration/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/fielddisplaymode/enumeration/llms-full.txt

---

### Description

Specifies identifiers to indicate the field display mode.

### Syntax

```csharp
public enum FieldDisplayMode
```

```vbnet
Public Enum FieldDisplayMode
```

### Members

| Member | Value | Description |
|---|---|---|
| ShowFieldText | 0 | The field text is displayed. |
| ShowFieldCodes | 1 | The field codes are displayed. |

### Examples

The following example selects the Show Field Text value from the Field Display Mode enumeration and uses it as a documented workflow choice.

```csharp
TXTextControl.DocumentServer.DataSources.FieldDisplayMode value = TXTextControl.DocumentServer.DataSources.FieldDisplayMode.ShowFieldText;
Console.WriteLine($"Using Field Display Mode: {value}");
```

```vbnet
Dim value As TXTextControl.DocumentServer.DataSources.FieldDisplayMode = TXTextControl.DocumentServer.DataSources.FieldDisplayMode.ShowFieldText
Console.WriteLine($"Using Field Display Mode: {value}")
```

---

## Nearby

- **Previous:** [DialogResult Enumeration](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/dialogresult/enumeration/llms-full.txt)
- **Next:** [IDataRowAdapter Interface](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-datasources/idatarowadapter/llms-full.txt)
