This project is read-only.

Hidden properties by default

Jan 23, 2011 at 7:01 PM


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.

Feb 1, 2011 at 12:50 AM

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.