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 of the status bar. When a text is set, the status bar shows this text until a status of a connected WPF.TextControl changes.
Syntax
public string Text { get; set; }Public Property Text As StringExamples
The following example uses StatusBar.Text to replace the status bar's displayed content. The configured value is checked before the workflow continues.
statusBar.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(statusBar.Text))
{
Console.WriteLine($"Text: {statusBar.Text}");
}statusBar.Text = "Quarterly results"
If Not String.IsNullOrWhiteSpace(statusBar.Text) Then
Console.WriteLine($"Text: {statusBar.Text}")
End If