UserControl and Property grid at runtime.

  • Thread starter Thread starter Steve
  • Start date Start date
S

Steve

Hi, I have a UserControl which I would like the user to be able to
configure through the property grid at runtime. How can I hide certain
properties that you get as standard such as Anchor and Autoscroll. Or is it
possible to hide whole Category sections, and only show my own custom
properties at runtime?

Thanks in advance.

Steve.
 
I've kind of figured out that you have to override EVERY property and set
the [Browsable(false)] attribtute. Seems a bit over kill to have all that
extra code in the control just to hide the properties. But it works, any
other suggestions would be greatly recieved.
 
Back
Top