title: Hide some properties in PropertyGrid at run-time
body: <p>I am doing a project that allows user to customized the properties of a <code>Control</code>. I have a form that has a control like <code>Label</code>, <code>TextBox</code>, <code>Button</code> and <code>PropertyGrid</code> control. When the user clicks on the <code>Label</code> i am showing the properties of the <code>Label</code> in the <code>ProeprtyGrid</code> which is all working fine using below code:</p>
  
  <pre><code>propertyGrid1.SelectedObject = SelectedControl;
  </code></pre>
  
  <p>But I just want to show some properties like <code>BackColor</code>, <code>Font</code>, <code>ForeColor</code>, <code>Text</code>. Is it possible to hide the properties since I don't want user to change it or show to them? If yes, how?</p>