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 that is displayed in the title bar of the Sidebar.
Syntax
public string Text { get; set; }Public Property Text As StringExamples
The following example uses Sidebar.Text to replace the sidebar's displayed content. The configured value is checked before the workflow continues.
sidebar.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(sidebar.Text))
{
Console.WriteLine($"Text: {sidebar.Text}");
}sidebar.Text = "Quarterly results"
If Not String.IsNullOrWhiteSpace(sidebar.Text) Then
Console.WriteLine($"Text: {sidebar.Text}")
End If