TX Text Control .NET for WPF

TextControl Property

Property|Introduced in 26.0
Namespace
TXTextControl.WPF
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.WPF.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets or sets the TextControl that is used for the predefined TextControl feature layouts.

Syntax

public string TextControl { get; set; }

Examples

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}");
}