I want to have property in a class which is readonly when accessed via object referance and still able to modify when changed via PropertyGrid control.
Is there any way to this? There is provision to create properties that are only modified at design time(Ex . AcessibleName property for any control).But here the proopery is need to change behaviour
at runtime only depending on wheither is it modified via direct object referance or by using a PropertyGrid Control.
The requirement is that I want this properyt to be able to modify only through user interface(like propertyGrid ) but at the same time no one should be able to modify this property at runtime.
View Complete Post