Hi,
In my application, i want to bind a set object collection (say ParentClassCollections) to a listview. But my collection objects are derived from a base class. Say i have a 'ParentClass' & two child classes 'ChildClass1' and ChildClass2'. 'ChildClass2'
is having some extra proeprties which i want to show to user in ListViewItem.
I have a collection of type 'ParentClass'.
So in my application, i want to create two different types of DataTemplates for two different child classes. I want to attach the ParentClassCollections collection to ListView but the content of the ListViewItem should vary according to the child class content.
How i can do different child objects binding to different ListViewItems using datatemplates or any other way?
Thanks
IamHuM