I seem to spend a lot of time searching through the properties of controls, trying to find out why one looks just a little bit different from another.
Todays example:
why is the (x) button slightly out of allignment with the other three ?
Does anyone know of a way to do a comparison of all of the properties of two controls of the same type (even when those controls are LayoutControlItems) to make this easier? Telerik adds so many more properties, many of which are only visible in the Telerik property Builder UI, and that is modal, and has loads of properties to check.
Any ideas? Or is there a simpler way of doing this?
Hi, Ian,
According to the provided screenshot, it wouldn't be easy to determine what is the exact setup that you have on your end and what is the exact goal that you are trying to achieve. Could you please elaborate? Could you please specify the exact steps how to reproduce the problem or get back to me with a complete code snippet that replicates the scenario so I can investigate the precise case? Thank you in advance.
I am looking forward to your reply.
Hi Dess,
I'm not looking for a solution to this specific problem, but to the more general problem of comparing the properties of any two controls of the same type. This is just an example.
In this example, somewhere in the properties of the two RadButton instances there will be a small difference in the properties. And the only way I know to find it is to bring up the properties on one, take a screen shot, open the other, and compare them next to each other by eye. There will always be differences, of course: names, positions and sizes. I just wondered, before I wtite my own, if there is a way to compare them and show only the differences in their properties, which will show me quicker where I have gone wrong.
Sounds like I'm the only one with this problem :-(
Hi, Ian,
I can share with you my approach for such cases. I don't claim that it is the perfect one, but for the time being it works for me. Usually, when I want to compare the settings of two controls I use the Designer.cs file and copy the serialized settings for both controls. Then, I use random online tools for checking the difference between two pieces of text. The changes are marked in a different color. This is pretty quick for discovering what changes may affect the different result.
I believe it would be helpful for you.
Ah - good idea. I keep forgetting about the power of simply serializing something.
Thanks - I'll try it. Much easier than getting into reflection.