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.
public XmlEditMode XmlEditMode { get; set; }
Public Property XmlEditMode() As XmlEditMode
Member | 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. |
No |
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. |