Telerik Property Grid中集合编辑器的不同模板 [英] Different Templates for Collection Editor in Telerik Property Grid
本文介绍了Telerik Property Grid中集合编辑器的不同模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的先生们,
我在PropertyGrid-Control中定制了集合编辑器。现在我有两个带拖放支持的列表框。这些列表框的绑定在控件模板中定义。
此工作正常。
但是对于另一个属性定义(也是一个集合)我需要一个具有不同绑定的不同集合编辑器。
问题是:如何实现这个目标?如何根据选择/聚焦的属性定义更改绑定?
任何帮助都可以......
解决方案
Dear Sirs,
I have customized the collection editor in PropertyGrid-Control. Now I have two Listbox with Drag-and-Drop-Support. The Binding for these Listboxes is defined in the control template.
This workd fine.
But for another Property Definiton (also a Collection) I need a different collection editor with different binding.
The question is: How to achieve this? How can I change the binding based on what property definition is selected/focused?
Any help would be fine...
解决方案
这篇关于Telerik Property Grid中集合编辑器的不同模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文