TX Text Control .NET for WPF

Text Property

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

Description

Gets or sets the text of the content control field.

Syntax

public string Text { get; set; }

Examples

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}");
}