EditorAttribute with type name (string) rather than System.Type

2 posts, 0 answers
  1. Guy
    Guy avatar
    16 posts
    Member since:
    Mar 2012

    Posted 08 Aug 2016 Link to this post

    The EditorAttribute of the PropertyGrid currently requires the control type to be available for the class defining the attribute. In the original .NET Property Grid, the EditorAttribute supported a constructor with a string which allowed the type to be resolved at runtime rather than compile time. The TypeConverter attribute also has this type name signature available. This is particularly useful when architecting a solution where the model libraries shouldn't reference the views.

    The functionality could be added with a simple constructor signature like this:

    public EditorAttribute(string editorTypeName)


  2. Martin Vatev
    Martin Vatev avatar
    130 posts

    Posted 09 Aug 2016 Link to this post

    Hello Guy,

    Thank you for getting back to us! We always appreciate customers feedback related to our components. For that reason, I have logged your suggestion as a feature request in our PITS System. You may track its progress following this link.

    Martin Vatev
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top