Design time image of a user control 2005

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have noticed that in 2005 the public properties of a user control run at
design time to format the items on the screen. In building user controls it
has been necessary to put if ( XXX != null) around many commands in my "set"
blocks to avoid having the IDE simply abend and go off the screen (pop!).
My question is this:
Is there a bool variable which can be checked to distinguish between running
during design time and run time? Something like IsRuntime or IsDesigntime?

Jerry
 
Back
Top