AutoText Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Determines whether text is automatically created for a newly added XML element that has no text contents. The created text consists of the element's name enclosed in square brackets and is created only if no text has been set with the XML element's Text property.
Syntax
public bool AutoText { get; set; }Public Property AutoText As BooleanExamples
The following example uses XmlElement.AutoText to configure auto text as part of the xml element workflow. The configured value is checked before the workflow continues.
xmlElement.AutoText = true;
if (xmlElement.AutoText)
{
Console.WriteLine("Xml Element: Auto Text is enabled.");
}xmlElement.AutoText = True
If xmlElement.AutoText Then
Console.WriteLine("Xml Element: Auto Text is enabled.")
End If