This is a migrated thread and some comments may be shown as answers.

Access to CollectionEditorPicker inner property grid

3 Answers 284 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Mikhail
Top achievements
Rank 1
Mikhail asked on 09 Sep 2013, 04:00 PM
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

3 Answers, 1 is accepted

Sort by
0
Mikhail
Top achievements
Rank 1
answered on 10 Sep 2013, 04:58 PM
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.

0
Accepted
Yoan
Telerik team
answered on 12 Sep 2013, 02:05 PM
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 >>
0
Mikhail
Top achievements
Rank 1
answered on 12 Sep 2013, 02:36 PM
It works and it's great! Thank you very much!
Tags
PropertyGrid
Asked by
Mikhail
Top achievements
Rank 1
Answers by
Mikhail
Top achievements
Rank 1
Yoan
Telerik team
Share this question
or