Hi Sam,
Could you please give me more information on what you mean by custom format?
We can use the SerializeObject method of the AppStateSerializer to store the layout information. Here is the code snippet that illustrates the same.
//To store the width and height of the docked control
AppStateSerializer ser = new AppStateSerializer(SerializeMode.XMLFile, "DockState");
ser.SerializeObject("width", this.panel1.Width);
ser.SerializeObject("height", this.panel1.Height);
ser.PersistNow();
//To restore the state
AppStateSerializer ser = new AppStateSerializer(SerializeMode.XMLFile, "DockState");
Object width = (int)ser.DeserializeObject("width");
Object height = (int) ser.DeserializeObject("height");
int h = (int)height;
int w = (int)width;
if (width is int)
this.dockingManager1.SetControlSize(this.panel1, new Size(w, h));
Please have a look at the attached sample and let me know if this meets your requirement.
Thanks for your interest in Syncfusion products.
Docking_SerializationBest Regards,
Golda