PropertyGrid - is it customizable?

Posted by serhio on Stack Overflow See other posts from Stack Overflow or by serhio
Published on 2010-06-11T08:23:57Z Indexed on 2010/06/11 8:32 UTC
Read the original article Hit count: 251

Filed under:
|
|
|

I have a project in that we have to represent some graphic objects on a usercontrol in WYSIWYG. Also is required to edit each objects properties(Color, Location, etc).

alt text

I hesitate between using PropertyGrid ('direct' properties edit) and custom forms on DoubleClick ('indirect' edit).

The PropertyGrid is very well but should correspond a some criteria:

  • Only selected properties are Displayed (by e.g. if I have TextRectangle want display only Text and Location);
  • Property names should be customizable and internationalizable (by e.g. TextRectangle Text property should be named "Company Name" or "???????? ???????????").

Now about is it possible I think the answer could be Yes, but is it reasonable to use it if we have not a lot of time. What could be quicker implemented, custom forms or Property panel?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about winforms