WPF Listview- What would be the best way to display data from different ObservableCollections based

Posted by highone on Stack Overflow See other posts from Stack Overflow or by highone
Published on 2010-03-24T00:29:27Z Indexed on 2010/03/24 0:33 UTC
Read the original article Hit count: 323

Filed under:
|
|
|

I have three ObservableCollections: CharacterCollection, LocationCollection, and ItemCollection. They are all collections of objects; CharacterCollection is a collection of Character Objects. I need to display, in the listview, information from the collection determined by the user clicking on a button. I would prefer to use databinding, but I don't see a clear cut way to do that with multiple collections containing different types of objects. What would be the best way to easily switch between collections?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about listview