TX Text Control .NET for WPF

Text Property

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

Description

Specifies the text of the XML element. If the element consists of several sub-elements, the text parts are separated through paragraph end characters (0x0A).

Syntax

public string Text { get; set; }

Examples

The following example uses XmlElement.Text to replace the xml element's displayed content. The configured value is checked before the workflow continues.

xmlElement.Text = "Quarterly results";
if (!string.IsNullOrWhiteSpace(xmlElement.Text))
{
    Console.WriteLine($"Text: {xmlElement.Text}");
}