public override XElement GetPropertiesXml(object objectControl) { Pivot.FindForm() .SaveDefaultLayout(Pivot.Name, Pivot); var xml = new XElement(Pivot.Name, Pivot.PropertiesToXml()); foreach (PivotGridField field in Pivot.Fields) { xml.Add(field.GetControlTuner() .GetPropertiesXml(field)); } return(xml); }