Valentina,
It's hard to say what's going on here; the Expanded property should certainly not always be showing true if it's collapsed. I just tested this in my application where the group box starts off collapsed and clicking a button expands it, and it worked fine. What is being serialized in the designer code for the ExpandedSize property? I know that there have been bugs in the past regarding the serialization of these properties, so you may want to ensure that you have the latest hotfix.
-Matt