开发者

WPF RowDetailTemplate Question

I have 2 list:

List list1 contains Pare开发者_Python百科nt object with Property ID

List list2 contains Child object with Property ParentID

list1 is used as ItemsSource in a DataGrid and I need to be able to show all items in list2 in a RowTemplateDetail where items in list2 ParentID = list1 ID.

I have read a lot of examples but commonly the the Model has a property Children that contains list2 but I cannot do it in my project (requirement specific). We are using MVVM btw.

Any input would be appreciated

Thanks!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜