# ContentControlFieldAdapter.Placeholder Property

> Gets or sets the placeholder field part 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.Placeholder Property
- **457 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/placeholder-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/placeholder-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/placeholder-property/llms-full.txt

---

### Description

Gets or sets the placeholder field part of the content control field.

### Syntax

```csharp
public List<DocPart> Placeholder { get; set; }
```

```vbnet
Public Property Placeholder As List(Of DocPart)
```

### Examples

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

```csharp
contentControlFieldAdapter.Placeholder = new List<TXTextControl.DocumentServer.Fields.DocPart>();
if (contentControlFieldAdapter.Placeholder != null)
{
    Console.WriteLine("Content Control Field Adapter: Placeholder is available.");
}
```

```vbnet
contentControlFieldAdapter.Placeholder = New List(Of TXTextControl.DocumentServer.Fields.DocPart)()
If contentControlFieldAdapter.Placeholder IsNot Nothing Then
    Console.WriteLine("Content Control Field Adapter: Placeholder is available.")
End If
```

---

## Nearby

- **Previous:** [ContentControlFieldAdapter.Id Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/id-property/llms-full.txt)
- **Next:** [ContentControlFieldAdapter.Tag Property](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol-documentserver-fields/contentcontrolfieldadapter/tag-property/llms-full.txt)
