I have an ObservableCollection<Person> object. The Person objects have Name and Type properties, where Type is either student or teacher. Is there any way to bind a ComboBox to a subset of the ObservableCollection<Person> object, where the Type property is only teacher?
I have an ObservableCollection<Person> object. The Person objects have Name and Type properties, where
Share
You can do this programatically as follows: