Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
960
Localization of descriptions
posted

Hi, I'm about to start creating a new application that loads a project class containing various configuration parameters and descriptions,

Being this class something that has to be updated by the application and that will be modified in time adding new properties I wanted to use the XamPropertyGrid control to edit its contents.

The Property grid is ruled by attributes and this means that properties descriptions must be written in code and cannot be resources.

So I was wondering, is it possible to replace at runtime the property descriptions if I need to manage different cultures?

Elsewhere I need to use a different editor custom built.

thank you in advance

Sabrina

Parents
No Data
Reply
  • 138253
    Verified Answer
    Offline posted

    Hello Sabrina,

    Thank you for your post. I have been looking into it and as far as I know the Description attribute should be set to a const value, but I can suggest you ask how you can localize it in the MSDN forums, where you can get an answer from a MS expert. As for the custom editor, I can suggest you see the sample in the Samples Browser under xamPropertyGrid / Editing & Selection / Changing the Default Editors section, where it is shown how to chnage the default editor. Please let me know if you have further questions on this matter.
     
    Looking forward for your reply.

Children