0
说我有Silverlight 3的DataGrid控件,我想在两行之间动态创建一些空闲空间以显示更多细节。我怎样才能做到这一点?如何在具有不同标题/列布局的Silverlight 3数据网格中动态插入行?
Header1 | Header2 | Header3 | Header4
-------------------------------------
Cell1 Cell2 Cell3 Cell4
Cell5 Cell6 Cell7 Cell8
Cell9 Cell10 Cell11 Cell12
例如,将成为:
Header1 | Header2 | Header3 | Header4
-------------------------------------
Cell1 Cell2 Cell3 Cell4
Cell5 Cell6 Cell7 Cell8
Foo1 Foo2
Foo3 Foo4
Cell9 Cell10 Cell11 Cell12
注意两个新插入的“行”,可以有不同的列数,并且可以是不同类型的控件。换句话说,插入的项目可能完全可能是另一个单独的控件。
这甚至可能与DataGrid控件?也许有人有一些聪明的想法。 非常感谢!