开发者

How to: A ListBox from two sources?

开发者 https://www.devze.com 2022-12-16 03:35 出处:网络
I am usin开发者_运维百科g EF with WPF. How should I create a ListBox that shows both Contacts and Persons?

I am usin开发者_运维百科g EF with WPF.

How should I create a ListBox that shows both Contacts and Persons?

My question is rather how to retrieve it and create the CollcetionViewSource(s).

I know I will have to use ItemTemplateSelector, that's less what I care, what I really care is the retrieval, but any tips on the representation will be welcommed as well.

Thanks


See the CompositeCollection class.

0

精彩评论

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