M
Michael Chapman
I have a UserControl-derived class that behaves somewhat strangely in
the form designer. Some properties (BorderStyle and Font) cause the
control to be updated in the designer, but others (ForeColor and
BackColor) do not. I've overriden OnBackColorChanged and also tried
adding an EventHandler for BackColorChanged. Neither seemed to have
any effect. At run-time the colors are correct. Any advice is greatly
appreciated. Do I need to modify my ControlDesigner class? Do I need to
add some design-time attribute to my member functions?
Thanks,
Michael
the form designer. Some properties (BorderStyle and Font) cause the
control to be updated in the designer, but others (ForeColor and
BackColor) do not. I've overriden OnBackColorChanged and also tried
adding an EventHandler for BackColorChanged. Neither seemed to have
any effect. At run-time the colors are correct. Any advice is greatly
appreciated. Do I need to modify my ControlDesigner class? Do I need to
add some design-time attribute to my member functions?
Thanks,
Michael