TX Text Control .NET for WPF

TrueText Property

Property|Introduced in 15.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 and sets the text that should be displayed when the comparison is true.

Syntax

public string TrueText { get; set; }

Examples

The following example uses IfField.TrueText to configure true text as part of the if field workflow. The configured value is checked before the workflow continues.

ifField.TrueText = "Quarterly results";
if (!string.IsNullOrWhiteSpace(ifField.TrueText))
{
    Console.WriteLine($"True Text: {ifField.TrueText}");
}