Hi,
I would like to have my own property editor with only one property, the name of the node. What is the property who show me this?
I've tried this but it doesn't work.
/// Customer class to be displayed in the property grid
/// </summary>
///
[DefaultPropertyAttribute("Name")]
class PropertyPV
{
private string _name;
[CategoryAttribute("General"), DescriptionAttribute("Name")]
public string Name
{
get
{
return _name;
}
set
{
_name = value;
}
}
public PropertyPV()
{
//
// TODO: Add constructor logic here
//
}