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