# CheckBoxContentControl Constructor

> Initializes a new instance of the CheckBoxContentControl class.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Constructor
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.DocumentServer.Fields`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXDocumentServer.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl.DocumentServer.Fields > CheckBoxContentControl Constructor
- **513 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/checkboxcontentcontrol/constructor/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/checkboxcontentcontrol/constructor/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/checkboxcontentcontrol/constructor/llms-full.txt

---

### Description

Initializes a new instance of the CheckBoxContentControl class.

### Syntax

#### CheckBoxContentControl()

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

```csharp
public CheckBoxContentControl();
```

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

#### CheckBoxContentControl(ApplicationField)

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

```csharp
public CheckBoxContentControl(ApplicationField ApplicationField);
```

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

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

### Examples

The following example creates a Check Box Content Control instance and configures its checked setting for a document workflow.

```csharp
TXTextControl.DocumentServer.Fields.CheckBoxContentControl checkBoxContentControl = new();
checkBoxContentControl.Checked = true;
```

```vbnet
Dim checkBoxContentControl As New TXTextControl.DocumentServer.Fields.CheckBoxContentControl()
checkBoxContentControl.Checked = True
```

---

## Nearby

- **Previous:** [CheckBoxContentControl.Checked Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/checkboxcontentcontrol/checked-property/llms-full.txt)
- **Next:** [ComboBoxContentControl Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-documentserver-fields/comboboxcontentcontrol/llms-full.txt)
