TrueText Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets and sets the text that should be displayed when the comparison is true.
Syntax
public string TrueText { get; set; }Public Property TrueText As StringExamples
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}");
}ifField.TrueText = "Quarterly results"
If Not String.IsNullOrWhiteSpace(ifField.TrueText) Then
Console.WriteLine($"True Text: {ifField.TrueText}")
End If