Text Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public Property Text As StringExamples
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}");
}xmlElement.Text = "Quarterly results"
If Not String.IsNullOrWhiteSpace(xmlElement.Text) Then
Console.WriteLine($"Text: {xmlElement.Text}")
End If