UserControl and Property grid at runtime.

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.
 
S

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top