I've got a List<T>
like:
List<Person> personList;
In this list are objects that inherit from Person: Staff
and Manager
.
I have a ComboBox cmbList
.
Now I would like to set the source of this ComboBox to the Staff
objects from the personList
.
How can I create a view, so that it looks like two List
s?