Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
920
Compare UltraGridLayout
posted

I want to save an load layouts of an ultragrid. This is no problem wih SaveAsXm. But I want to ask the User if he wants to save a changed layout.

Is there any way to compare 2 layouts (current and a  perviously saved).

 .Equals(object)  seems to have no effect.

{

UltraGridLayout LoadedLayout = ultraGrid1.DisplayLayout.Clone();
bool isEqual = LoadedLayout.Equals(ultraGrid1.DisplayLayout);  // is false

}