TXTextControl.TextControl.XmlEditMode Property

Gets or sets a value specifying whether Text Control operates in an edit mode that validates the XML document according to the document's DTD.

Syntax

[C#]
public XmlEditMode XmlEditMode { get; set; }
[Visual Basic]
Public Property XmlEditMode() As XmlEditMode
Value Description
Validate Every operation that manipulates an XML document is validated according to the document's DTD. This mode is read only and is automatically switched on after loading a valid XML document.
NoValidate Text Control operates in its normal editor mode. No validation of an XML document occurs. Because the document can be invalid after every operation the document cannot be saved in XML format.

See Also