public void GetObjectData(XmlWriter wr) { wr.WriteStartElement("backgroundlayer"); XmlUtil.WriteProperties(this, wr); wr.WriteEndElement(); }