# AcroForms.FormComboBox Constructor

> Initializes a new instance of the FormComboBox class.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Constructor
- **Introduced:** 29.0
- **Namespace:** `TXTextControl.DocumentServer.PDF.AcroForms`
- **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.PDF > AcroForms.FormComboBox Constructor
- **511 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formcombobox/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formcombobox/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formcombobox/constructor/llms-full.txt

---

### Description

Initializes a new instance of the FormComboBox class.

Initializes a new instance of the FormComboBox class based on a given FormChoiceField.

### Syntax

```csharp
public FormComboBox(FormChoiceField parent);
```

```vbnet
Public Sub New(parent As FormChoiceField)
```

### Parameters

| Parameter | Description |
|---|---|
| parent | Specifies the parent FormChoiceField. |

### Examples

The following example creates a Form Combo Box instance and configures its can edit setting for a document workflow.

```csharp
TXTextControl.DocumentServer.PDF.AcroForms.FormComboBox formComboBox = new(new TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField(new TXTextControl.DocumentServer.PDF.AcroForms.FormField()));
formComboBox.CanEdit = true;
```

```vbnet
Dim formComboBox As New TXTextControl.DocumentServer.PDF.AcroForms.FormComboBox(New TXTextControl.DocumentServer.PDF.AcroForms.FormChoiceField(New TXTextControl.DocumentServer.PDF.AcroForms.FormField()))
formComboBox.CanEdit = True
```

---

## Nearby

- **Previous:** [AcroForms.FormComboBox Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formcombobox/llms-full.txt)
- **Next:** [AcroForms.FormField Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-pdf/acroforms-formfield/llms-full.txt)
