|
2
|
| Jordan Parmer · 技术社区 · 15 年前 |
|
|
1
1
下面的文章让我接近我想要的东西: http://blogs.msdn.com/b/scmorris/archive/2008/04/14/defining-silverlight-datagrid-columns-at-runtime.aspx 本质上,您必须具有可绑定属性。不能只根据任意项目列表创建行。我偶然发现了几个开源项目,它们通过在运行时使用反射来构建CLR类型,然后绑定到这些类型来解决这个问题。 |
|
|
2
1
|
|
|
3
0
是的,这是可能的。这是从msdn刷来的样品 使用系统; 使用system.collections.generic; 使用system.windows.controls;
|
|
|
Bigeyes · 如何在MVVM模式中添加行? 9 年前 |
|
|
User9898 · 悬停回到原始颜色时为什么选择 9 年前 |
|
|
Huma Ali · WCF已完成事件中的异常处理 9 年前 |
|
|
Nerd in Training · 文件副本发布错误 10 年前 |