title: Making the Visual Studio designer ignore a public property
body: <p>I have a UserControl with a public property using the following attributes:</p>
  
  <pre><code>[Browsable(false)]
  [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
  </code></pre>
  
  <p>I have tried deleting the owner form, re-creating a fresh form in Visual Studio 2010, and adding this UserControl to the form.  It keeps adding a line like the following in the Designer file:</p>
  
  <pre><code>this.vMyUserControl.MyProperty = ((MyNamespace.MyClass)(resources.GetObject("vMyUserControl.MyProperty")));
  </code></pre>
  
  <p>This crashes my application because this property is not designed to be created by serialization.</p>