Tag: XML

Example for Documentation Tags

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Diagnostics; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace WindowsFormsApplication1 { #region testregion /// <summary> /// This is a test Class Form1 /// </summary> public partial class Form1 : Form { /// <summary> /// Constructor for the Form1 /// </summary> public Form1() { InitializeComponent(); } /// <summary> /// Form Load Event of the…

How to Populate XDocument from String in C# ?

To populate the XDocument from a string in C# , we can use the Parse method defined in the XDocument class. Below is a sample code snippet that demonstrates how to populate XDocument from string in C#. How to Populate XDocument from String in C# ?

How to Convert XmlDocument to XDocument in C# ?

If you want to convert an XmlDocument to XDocument in C# , you can use the XmlNodeReader which does the conversion for you. Use the MoveToContent method and load it to the XDocument class. How to Convert XmlDocument to XDocument in C# ?

What is XAML?

What is XAML? XAML is a language from Microsoft which stands for eXtensible Application Markup Language. It is a declarative language used specially for defining application user interfaces. It is XML based. Each XAML tag corresponds to a class in .NET Framework and the properties represent XML attributes. Eg: <Button> </Button> The above tag represents a button that is defined in the System.Windows.Controls.Button