To display property name in readable form you can use DisplayName attribute
[DisplayName("First Name")]
public string FirstName
{
get
{
return _FirstName;
}
set
{
_FirstName = value;
}
}
Daily reviews about .Net,tools and programming techniques
To display property name in readable form you can use DisplayName attribute
[DisplayName("First Name")]
public string FirstName
{
get
{
return _FirstName;
}
set
{
_FirstName = value;
}
}
at 15:57
2 comments:
Thanks pal!
I was looking for this info
If there is another tips about set the property as readOnly for PropertyGrid it would be wonderful!
Post a Comment