title: Hiding unwanted properties in custom controls
body: <p>Is this the way to hide properties in derived controls?</p>
  
  <p><code>public class NewButton : Button</code></p>
  
  <p>...</p>
  
  <pre><code>[Browsable ( false )]
  public new ContentAlignment TextAlign { get; set; }
  </code></pre>
  
  <p>Also this hides the property in the Properties window in the designer but how can I also hide the property in code?</p>