TX Text Control .NET Server

Placeholder Property

Property|Introduced in 21.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

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

Syntax

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

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.

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