Placeholder Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. Core. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDocumentServer.dll
Description
Gets or sets the placeholder field part of the content control field.
Syntax
public List<DocPart> Placeholder { get; set; }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.
contentControlFieldAdapter.Placeholder = new List<TXTextControl.DocumentServer.Fields.DocPart>();
if (contentControlFieldAdapter.Placeholder != null)
{
Console.WriteLine("Content Control Field Adapter: Placeholder is available.");
}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