# FormFieldAdapter Class

> The abstract FormFieldAdapter class is the base class of all special DocumentServer form field adapters. It implements the necessary means to access field properties such as the name or the text of a field.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Class
- **Introduced:** 15.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`
- **Derived:** `TXTextControl.DocumentServer.Fields.FormCheckBox`, `TXTextControl.DocumentServer.Fields.FormDropDown`, `TXTextControl.DocumentServer.Fields.FormText`
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.Fields > FormFieldAdapter Class
- **1517 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/llms-full.txt

---

### Description

The abstract FormFieldAdapter class is the base class of all special DocumentServer form field adapters. It implements the necessary means to access field properties such as the name or the text of a field.

### Syntax

```csharp
public abstract class FormFieldAdapter : FieldAdapter
```

```vbnet
Public MustInherit Class FormFieldAdapter
    Inherits FieldAdapter
```

### Examples

The following example includes the name value from a Form Field Adapter object in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Name: {formFieldAdapter.Name}");
Console.WriteLine("Form Field Adapter is ready for use.");
```

```vbnet
Console.WriteLine($"Name: {formFieldAdapter.Name}")
Console.WriteLine("Form Field Adapter is ready for use.")
```

---

## In This Section

- [FormFieldAdapter.Bounds Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/bounds-property/llms-full.txt): Gets and sets the bounds of the form field. The rectangle's location and the size are specified in twips.
- [FormFieldAdapter.CalcOnExit Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/calconexit-property/llms-full.txt): Gets or sets the CalcOnExit property of the field.
- [FormFieldAdapter Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/constructor/llms-full.txt): Initializes a new instance of the FormFieldAdapter class.
- [FormFieldAdapter.Enabled Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/enabled-property/llms-full.txt): Specifies whether the field is enabled or not.
- [FormFieldAdapter.Font Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/font-property/llms-full.txt): Gets and sets the font of the form field.
- [FormFieldAdapter.HelpText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/helptext-property/llms-full.txt): Gets and sets the help text of the field.
- [FormFieldAdapter.Name Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/name-property/llms-full.txt): Gets and sets the name of the form field.
- [FormFieldAdapter.StatusText Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/statustext-property/llms-full.txt): Gets and sets the status text of the field.
- [FormFieldAdapter.Text Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/text-property/llms-full.txt): Gets and sets the text of the form field.

---

## Nearby

- **Previous:** [FormDropDown.ListEntries Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formdropdown/listentries-property/llms-full.txt)
- **Next:** [FormFieldAdapter.Bounds Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/formfieldadapter/bounds-property/llms-full.txt)
