Access to CollectionEditorPicker inner property grid

4 posts, 1 answers
  1. Mikhail
    Mikhail avatar
    5 posts
    Member since:
    Sep 2013

    Posted 09 Sep 2013 Link to this post

    Hello! 

    I use EditorTemplate property of PropertyDefinition class for showing a combobox with instances of some class to set property value. It works well but - is it possible to use the same way for properties shown in the property grid inside CollectionEditorPicker control? Or maybe another way to get the same effect.

    Thanks in advance,
    Mikhail
  2. Mikhail
    Mikhail avatar
    5 posts
    Member since:
    Sep 2013

    Posted 10 Sep 2013 Link to this post

    And one more question - if there is no possibility to tune CollectionEditorPicker inner property grid.

    How to create custom control for collection editing correctly? I've tried to do that and I've seen my control in propertygrid cell but it was disabled as though the according property was readonly.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Answer
    Yoan
    Admin
    Yoan avatar
    1070 posts

    Posted 12 Sep 2013 Link to this post

    Hello Mikhail,

    In order to achieve your goal, you need to predefine CollectionEditor's template. I have prepared a sample project showing you the approach.

    I hope this helps.

    Regards,
    Yoan
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. Mikhail
    Mikhail avatar
    5 posts
    Member since:
    Sep 2013

    Posted 12 Sep 2013 Link to this post

    It works and it's great! Thank you very much!
Back to Top