The blog has moved to a new address. The blog is now located at http://devintelligence.com

Saturday, January 27, 2007

PropertyGrid: How to make specific property read only ?

Use ReadOnly attribute or remove set accessor ...

[ReadOnly(true)]
public int Age
{
get
{
return _Age;
}
set
{
_Age
= value;
}
}


 


source(russian)

No comments: