PropertyGrid and the little [+]


P

Phil Jones

I'm using the PropertyGrid within a test harness I've whacked out to test
some controls I'm creating. [and it's really cool].

One thing I was wondering was if the control that is passed to the
PropertyGrid (SelectedObject) it loads itself up, exposing all the
properties.

If one of those properties is of type Control or Rectangle for example a
little [+] is displayed allowing you to drill down into that object's
properties too.


Q: I was wondering - what do you have to do to an object so taht when it is
exposed as a property the PropertyGrid [+] symbol is displayed, and it can
be editable. Is it an Attribute I need to implement.


Many thanks everyone.
===
Phil
 
Ad

Advertisements


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