Hi,
I save my property categories on XML file.
grid.DisplayLayout.SaveAsXml(f,Infragistics.Win.UltraWinGrid.
PropertyCategories.All)
I would like to compare this XML file property with propertyCategories on the grid.
Because, if I do some change of the original property Grid, I would like to reset the propertyCategories to the new original.
I have two file XML, FileName_User and FileName_Original
If a FileName_Original change, I would like to reset the FileName_User to the new setting.
Francois.
Hi Francois,
I'm afraid I do not understand your question. There is no PropertyCategories property on the grid. And the XML file you save does not include what PropertyCategories were saved. This enum is just an option that indicates what should and should not be included in the xml file.
Hi Mike,
I would like to compare two propriety grid.
First time when the user enter to the grid, I save the grid to XML file save as GridName_Original
When the user modify the grid I save the file to GridName_user.
When I change some thing on InitializeLayout when I delevry a new version my original setting for the grid was change. I would like to compare between the Old Original at new original setting. And if the setting was change I would like to reinitialise then file GridName_User for obtain the new setting.
Scenario,
I change the color of the column #1 (before was red now was blue) on my initializeLayout.
I delevery the new version.
When the user enter to the grid, is loading the file GridName_User (ther are the column one red and his don't have the new setting, blue color). I want to reload the Original setting to take effect of the new change.