Example #1
0
        protected override void WriteXMLInner(XmlWriter writer)
        {
            //write grid-specific variables
            writer.WriteElementString("row", this.row.ToString());
            writer.WriteElementString("col", this.col.ToString());
            writer.WriteElementString("rowSpan", this.rowSpan.ToString());
            writer.WriteElementString("colSpan", this.colSpan.ToString());
            writer.WriteElementString("isBordered", this.isBordered.ToString());

            //write the inner control!
            writer.WriteStartElement(this.formElement.GetType().Name);
            formElement.WriteXml(writer);
            writer.WriteEndElement();
        }