# DropDownListContentControl Constructor

> Initializes a new instance of the DropDownListContentControl 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 > DropDownListContentControl Constructor
- **527 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/dropdownlistcontentcontrol/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/dropdownlistcontentcontrol/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-documentserver-fields/dropdownlistcontentcontrol/constructor/llms-full.txt

---

### Description

Initializes a new instance of the DropDownListContentControl class.

### Syntax

#### DropDownListContentControl()

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

```csharp
public DropDownListContentControl();
```

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

#### DropDownListContentControl(ApplicationField)

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

```csharp
public DropDownListContentControl(ApplicationField ApplicationField);
```

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

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

### Examples

The following example creates a Drop Down List Content Control instance and configures its title setting for a document workflow.

```csharp
TXTextControl.DocumentServer.Fields.DropDownListContentControl dropDownListContentControl = new();
dropDownListContentControl.Title = "Quarterly report";
```

```vbnet
Dim dropDownListContentControl As New TXTextControl.DocumentServer.Fields.DropDownListContentControl()
dropDownListContentControl.Title = "Quarterly report"
```

---

## Nearby

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