or
List<inv_mstr> lstFind = this.grid.ItemsSource as List<inv_mstr>;
List<inv_mstr> lstFind2 = (lstFind.Where(i => i.inv_no == Convert.ToInt32(sch.ApptID)).Take(1)).ToList();
this.grid.OnApplyTemplate();
this.grid.SelectedItem = lstFind2.Take(1);
When the filter string is typed into the column filter box, and 'enter' is pressed, the application crashes.
To clarify items in the list of a combobox I need to alternate background color, like in a gridiew or similar.