This project has moved. For the latest updates, please go here.

propertygrid localization

Nov 11, 2011 at 10:31 PM

So much coolness! Thanks.

Is there a way to customize the text of the property grid’s title like you can customize the display names of fields? For instance, in your CustomAttributeEditorPerson example, you’ve customized the fields so they display with spaces, but the property grid’s title isn’t customized (“CustomAttributeEditorPerson” with no spaces).

Deriving from DisplayNameAttribute, CategoryAttribute, and DescriptionAttribute is simple and works for localizing everything else using apparently standard techniques (e.g., If I could localize the grid’s title it would be complete…

[And when will the propertygrid emerge from beta?]

Nov 12, 2011 at 12:31 AM
Edited Nov 12, 2011 at 12:31 AM

This is supported.  Simply decorate your class with the DisplayName attribute.

[DisplayName("My Person")]
public class Person

Dec 5, 2011 at 6:04 AM

This is don't working now. Rev 83405

Dec 5, 2011 at 1:59 PM

Yes it is.