Multi-line string in a PropertyGrid

.net, c#, propertygrid, winforms

Solution

I found that `System.Design.dll` has `System.ComponentModel.Design.MultilineStringEditor` which can be used as follows:

public class Stuff
{
    [Editor(typeof(MultilineStringEditor), typeof(UITypeEditor))]
    public string MultiLineProperty { get; set; }
}

Problem

Is there a built-in editor for a multi-line string in a `PropertyGrid`.

Original source