Text 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 text of the content control field.
Syntax
public string Text { get; set; }Public Property Text As StringExamples
The following example uses RichTextContentControl.Text to replace the rich text content control's displayed content. The configured value is checked before the workflow continues.
richTextContentControl.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(richTextContentControl.Text))
{
Console.WriteLine($"Text: {richTextContentControl.Text}");
}richTextContentControl.Text = "Quarterly results"
If Not String.IsNullOrWhiteSpace(richTextContentControl.Text) Then
Console.WriteLine($"Text: {richTextContentControl.Text}")
End If