There are methods on the grid's DisplayLayout to save to binary or XML files. Look for Save, SaveAsXml, Load, and LoadFromXml.