Hi,
I am looking to edit the name field for a parent element in the Xceed WPF PropertyGrid.
The idea is that the Gain0(0x03) value will change when the bit fields change. Currently it says "Register.Gain0Class" and I would like to make it an editable field.
On a regular propertygrid from Microsoft, this code below works.
Thanks,
Gautham
Image: http://imgur.com/gByMVxN
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
I am looking to edit the name field for a parent element in the Xceed WPF PropertyGrid.
The idea is that the Gain0(0x03) value will change when the bit fields change. Currently it says "Register.Gain0Class" and I would like to make it an editable field.
On a regular propertygrid from Microsoft, this code below works.
Thanks,
Gautham
Image: http://imgur.com/gByMVxN
[TypeConverterAttribute(typeof(ExpandableObjectConverter))]
public class Test
{
private string text= "str";
public string Text
{
get
{
return text;
}
set
{
text= value;
}
}