Ah I think I see what I've been doing wrong... Looks like I've been using the PropertyGrid like an old Windows.Forms property grid, instead of trying trying to use PropertyDefinitions and the ITypeEditor interface.
Is it possible to supply editors for a property at runtime instead of in the property declaration? I don't want to have to do something like :
Is it possible to supply editors for a property at runtime instead of in the property declaration? I don't want to have to do something like :
[Editor(typeof(LastNameUserControlEditor), typeof(LastNameUserControlEditor))]
Since that would mean bringing UI code in to the library I'm linking in.