I have a new issue. I'd like to change and update the display name of a property at run-time.
The scenario is that if we want to change the name of a property (for example, LinkBudgetApp1 with "App1" as display name),
we do the changes in the project settings, so the current display is overwritten. So far, I did the appropriate changes in the code 3.
However, nothing changes.
Maybe I'm using ICustomTypeDescriptor and PropertyDescriptor in the wrong way, please tell me what are the changes to do to make
this work. Thank you.
A sample model class
Implementation of ICustomTypeDescriptor
A method to define and retrieve attributes in some class
Implementation of PropertyDescriptor