Gets the name of an XML element.

Syntax

public string ElementName { get; }

Examples

The following snippet shows an easy way to use the TXTextControl.XmlElement.ElementName property. Here, it is stored in a variable of the type 'string'.

TXTextControl.XmlElement myXMElement = new TXTextControl.XmlElement("XMLElementName");

System.Windows.Forms.MessageBox.Show("The XMLElement ElementName property is: " + newElement.ElementName);