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.


public bool AutoText { get; set; }
Public Property AutoText() As Boolean


This shows how to automatically create a text for an XML element. If the 'Text' property IS NOT set and the 'AutoText' property is set to true, a text consisting of the elements name will be created.

TXTextControl.XmlElement MyXMLElement = new TXTextControl.XmlElement("XMLElementName");
MyXMLElement.AutoText = true;
Dim MyXMLElement As TXTextControl.XmlElement = New TXTextControl.XmlElement("XMLElementName")
MyXMLElement.AutoText = True