I have a custom control with a bool
property. In the designer, I drag the user control to a form and I change this property to "false", which is supposed to hide a child control.
It is indeed hiding it in runtime, but not in design time. How could I "refresh" my user control in design time to reflect the changes to this property?
I'm afraid I didn't ask my question correctly - I was inheriting from a rather complex third-party control and I wanted to see a change in design time.
I ended up overriding OnCreateControl
. I appreciate your help nevertheless.