Filter elements in PropertyGrid

Posted by serhio on Stack Overflow See other posts from Stack Overflow or by serhio
Published on 2010-04-29T16:13:31Z Indexed on 2010/04/29 16:17 UTC
Read the original article Hit count: 412

Filed under:
|
|

In System.Windows.Forms there are a PropertyGrid that displays properties of an attached object. Let's say MyTextBox : TextBox.

Now, I would like to display on it some MyTextBox properties, say only Size, Location and my custom property Date.

More that than, I would like to be able to change the real property names, say "Dimension", "Location" and "Starting Date".

I saw two projects on this subject : first and second, but first does not work well(for browsable properties), and the second seems to add an event for each property changes, this is not acceptable.

© Stack Overflow or respective owner

Related posts about .NET

Related posts about propertygrid