Hi,
I have a PropertyGrid that displays the properties of a generic object that has some generic properties whose meaning change at runtime.
So, for some properties, I can't have static information available at compile time but only at run-time.
To be more specific I have some properties that must be shown only in certain situations that I know only at run-time.
I can't decorate such properties with a
[Browsable(false)] attribute,
since I can't know statically this information.
In addition I have similar problems with DisplayNameAttribute && DescriptionAttribute.
I can't supply, for such generic properties, a static description at compile time, since I can know the exact values to put to these attributes only at run-time.
So, my question is: is there a possibility to define the browsability and the DisplayName and DescriptionAttribute of a generic property at run-time ?
Thank you,
Silvio