【发布时间】:2016-05-26 15:18:09
【问题描述】:
我有一个RadGridView 绑定到ObservableCollection 的TestType。
TestType 包含 3 个成员:
string TestString;
Int TestInt;
List<string> TestCollection;
我在ObservableCollection 中添加了 3 条记录。
绑定有效,我可以看到记录。
当我尝试编辑表格时,我无法编辑 TestList 成员单元格。
在 winforms 属性网格中,我添加了一个 EditorAttribute 这样的:
[Editor typeof(CollectionUITypeEditor), typeof(UITypeEditor)].
然后,可以使用自定义编辑器(在属性网格中)编辑该成员。
有没有办法让自定义编辑器在单元格编辑中工作?
【问题讨论】:
标签: c# wpf telerik telerik-grid radgridview