Text Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets the text of the content control field.
Syntax
public string Text { get; set; }Public Property Text As StringExamples
The following example uses PlainTextContentControl.Text to replace the plain text content control's displayed content. The configured value is checked before the workflow continues.
plainTextContentControl.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(plainTextContentControl.Text))
{
Console.WriteLine($"Text: {plainTextContentControl.Text}");
}plainTextContentControl.Text = "Quarterly results"
If Not String.IsNullOrWhiteSpace(plainTextContentControl.Text) Then
Console.WriteLine($"Text: {plainTextContentControl.Text}")
End If