Editing custom types in property grid
<p>I have a class <code>MinMax</code> which among other things contains this:</p>

<pre><code>public class MinMax
{
    private float m_min = 0;
    private float m_max = 1;
    public override string ToString()
    {
        return m_min + " " + m_max;
    }
}
</code></pre>

<p>I also have another class <code>SomeClass</code> with a property of this type:</p>

<pre><code>public MinMax Something
{
    get
    {
        return m_something;
    }
    set
    {
        m_something = value;
    }
}
</code></pre>

<p>When I put an object of type <code>SomeClass</code> in a property grid, <code>Something</code> is correctly displayed but for natural reasons I'm not able to edit the value.</p>

<p>I know I can create a custom type editor and show a custom form to edit it, but I would like to edit the displayed string directly.</p>

<p>My first solution was to return a <code>string</code> from <code>Something</code> instead but I have other code that needs this property to be returned in it's native format.</p>

<p>Is thera any other convenient solution that will let med edit the value directly as a string in the propertygrid?</p>
