Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: PropertyGrid Class name edit

$
0
0
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))]
public class Test
{
    private string text= "str";
    public string Text
    {
        get
        {
            return text;
        }
        set
        {
            text= value;
        }
    }

Viewing all articles
Browse latest Browse all 4964

Trending Articles