Hi,
I'm using dynamically generated data for PropertyGrid, bound to property definitions.
What I want to do is to manually add a button control in the PropertyGrid.
How can I manually add a control in code-behind?
3 Answers, 1 is accepted
0
Maya
Telerik team
answered on 13 Aug 2013, 06:20 AM
Hello Dodd,
Could you provide a bit more details on your requirement ? Do you want to place a button somewhere in the template of the property grid ? Or you want to bind to bind that button to the Item property of the control ?
Regards,
Maya
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 >>
What I meant was to bind a button to an Item property.
I'm attaching a sample image.
Thanks!
0
Maya
Telerik team
answered on 14 Aug 2013, 07:07 AM
Hi Dodd,
As far as I can see from the image, you want to place buttons in the fields rather than binding a button to the Item property of RadPropertyGrid. If so, you try creating EditorTemplate as illustrated in this article.
Regards,
Maya
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 >>