How can I determine if a user control is in design mode?