Changing attributes at runtime

  • Thread starter Thread starter John Allen
  • Start date Start date
J

John Allen

I need to change the "Browsable" attribute for one of my class' properties
at runtime (from "true" to "false"). The only way I can see how to do it is
via "ICustomTypeDescriptor.GetProperties()" which means implementing the
latter interface on my class, creating a customized "PropertyDescriptor",
etc. Basically a lot of work for something so simple. Is there an easier way
to do this. Thanks.
 
Back
Top