title: How to access System.ComponentModel.DesignProperties?
body: <p>I have a user control in my project that crashes at design-time when I try to add it to a form, so I want to add in a check to see if we're at design time.  From what I've read, that's done by calling the function:</p>
  
  <pre><code>System.ComponentModel.DesignerProperties.GetIsInDesignMode(this)
  </code></pre>
  
  <p>from the user control.  The problem I'm having is that VS2013 is telling me that "DesignProperties" does not exist in the current context.</p>
  
  <p>I've got "<strong>using System.ComponentModel</strong>" in there, so I dunno what's wrong.  Any ideas?</p>