Hidden properties by default

Jan 23, 2011 at 6:01 PM

Hey,

Started using WPG for my project. Seems to work pretty well. Could use a bit more documentation but it wasn't too hard to setup.

Right now every single property on my objects show up in the property grid. Is there a way to, by default, not add all the properties and have to put a certain tag on the properties I want to show up in the list?

I've tried a bunch of stuff but can't seem to get this right. Thanks for any help you can provide.

Jan 31, 2011 at 11:50 PM

I ended up adding an attribute to my proprties and filtering them out this way.

It's also possible to use [Browsable(false)] for those that need to quickly filter some properties.