TextControl 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 TextControl that is used for the predefined TextControl feature layouts.
Syntax
public string TextControl { get; set; }Public Property TextControl As StringExamples
The following example uses Sidebar.TextControl to configure text control as part of the sidebar workflow. The configured value is checked before the workflow continues.
sidebar.TextControl = "Quarterly results";
if (!string.IsNullOrWhiteSpace(sidebar.TextControl))
{
Console.WriteLine($"Text Control: {sidebar.TextControl}");
}sidebar.TextControl = "Quarterly results"
If Not String.IsNullOrWhiteSpace(sidebar.TextControl) Then
Console.WriteLine($"Text Control: {sidebar.TextControl}")
End If