# ContentControlFieldAdapter.Type Property

> Gets or sets the type of the content control field.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 21.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
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl.DocumentServer.Fields > ContentControlFieldAdapter.Type Property
- **411 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/type-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/type-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/type-property/llms-full.txt

---

### Description

Gets or sets the type of the content control field.

### Syntax

```csharp
public string Type { get; set; }
```

```vbnet
Public Property Type As String
```

### Examples

The following example uses `ContentControlFieldAdapter.Type` to configure type as part of the content control field adapter workflow. The configured value is checked before the workflow continues.

```csharp
contentControlFieldAdapter.Type = "Quarterly report";
if (!string.IsNullOrWhiteSpace(contentControlFieldAdapter.Type))
{
    Console.WriteLine($"Type: {contentControlFieldAdapter.Type}");
}
```

```vbnet
contentControlFieldAdapter.Type = "Quarterly report"
If Not String.IsNullOrWhiteSpace(contentControlFieldAdapter.Type) Then
    Console.WriteLine($"Type: {contentControlFieldAdapter.Type}")
End If
```

---

## Nearby

- **Previous:** [ContentControlFieldAdapter.Title Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/title-property/llms-full.txt)
- **Next:** [DateContentControl Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/datecontentcontrol/llms-full.txt)
