コード例 #1
0
 /// <summary>
 /// Converts this object to its equivalent serialized XML representation.
 /// </summary>
 /// <returns>The serialized representation of this Graphmatic object.</returns>
 public XElement ToXml()
 {
     return(new XElement("GraphAxis",
                         new XElement("GridSize", GridSize),
                         new XElement("MajorInterval", MajorInterval),
                         new XElement("HorizontalType", HorizontalType.ToString()),
                         new XElement("VerticalType", VerticalType.ToString())));
 }