How to use UriTypeConverter from PropertyGrid store

2 posts, 0 answers
  1. Michael
    Michael avatar
    14 posts
    Member since:
    Jun 2012

    Posted 18 Aug 2012 Link to this post

    Hello,

    How do we use the UriTypeConverter when we're not telling RadPropertyGrid an adapted SelectedObject, for instance? In other words, when we are using the Store? In other words, we can tell RadPropertyGrid when EditorRequired what UriTypeConverter editor to use?

    Thank you...
  2. Ivan Petrov
    Admin
    Ivan Petrov avatar
    701 posts

    Posted 22 Aug 2012 Link to this post

    Hi Michael,

    Thank you for writing.

    Every PropertyStoreItem has an Attributes collection property. You can add attributes to this collection and they will be treated by RadPropertyGrid the same way as if they were applied to a property of a class and an instance of this class is set as the SelectedObject of the grid.

    I hope this will be useful. Should you have further questions, I would be glad to help.
     
    All the best,
    Ivan Petrov
    the Telerik team
    RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top