Hello everyone.
I have a (pretty large, 1000 lines or so) class with a lot of properties, both regular, overridden and overloaded properties. I currently add this in front of the property to hide it from the designer:
This is all great, but it adds quite some lines to my project. How can I specify, for my class or project, that it should add the above settings to all?Code:<Browsable(False), DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _
Or even better: set the above settings for a block of code instead of a single property.




Reply With Quote