StatusBar Property
- Namespace
TXTextControl.WPF
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesWPF. dll
Description
Specifies the status bar control to be used with a TextControl. The property value is an empty string, if there is no status bar connected. Otherwise it must be the name of an existing WPF.StatusBar object.
Syntax
public string StatusBar { get; set; }Public Property StatusBar As StringExamples
The following example uses TextControl.StatusBar to configure status bar as part of the text control workflow. The configured value is checked before the workflow continues.
textControl.StatusBar = "Quarterly report";
if (!string.IsNullOrWhiteSpace(textControl.StatusBar))
{
Console.WriteLine($"Status Bar: {textControl.StatusBar}");
}textControl.StatusBar = "Quarterly report"
If Not String.IsNullOrWhiteSpace(textControl.StatusBar) Then
Console.WriteLine($"Status Bar: {textControl.StatusBar}")
End If