Type Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the type of the content control field.
Syntax
public string Type { get; set; }Public Property Type As StringExamples
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.
contentControlFieldAdapter.Type = "Quarterly report";
if (!string.IsNullOrWhiteSpace(contentControlFieldAdapter.Type))
{
Console.WriteLine($"Type: {contentControlFieldAdapter.Type}");
}contentControlFieldAdapter.Type = "Quarterly report"
If Not String.IsNullOrWhiteSpace(contentControlFieldAdapter.Type) Then
Console.WriteLine($"Type: {contentControlFieldAdapter.Type}")
End If