Thanks. I'm looking to save each cell style individually. The sample app appears to save them all together.
The app helped me out by pointing me to the GridStyleInfoStore object. It has a WriteXml function, but I'm having some issues with it. When I go to use the GridStyleInfoStore.ReadXml function, it complains that there is more than one root element in the XML, which there is. It looks to be taking the properties I've changed, but not putting them under a root element. I see CellValue, Background and Tag, all three of which I set.
Sample:
http://www.w3.org/2001/XMLSchema" d2p1:type="q1:string" xmlns:d2p1="http://www.w3.org/2001/XMLSchema-instance">qwertySystem.Windows.Media.ImageBrush xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="ImageBrush">1System.Windows.Media.ImageBrushDAI.UI.Office.Interfaces.Compliance.TemplateDesigner.CellTypeNonEditable'>http://www.w3.org/2001/XMLSchema-instance">NonEditable
Is there some workaround so that I can save each cell style as it's own independent xml to be serialized to the database?
Thanks.