WPF ListView Cannot Trigger Selection Changed when only one row
- by Traci
I have a listview which has its datasource changed after update of a search textbox.
When I enter search criteria that only returns one row, I am unable to trigger the OnSelectionChanged event The listbox works as expected at any other time.
I have tried changing SelectedItem and SelectedIndex in Code, Clicking aimlessly on the ListView both on and off the row and are at the brink of insanity.
Does anyone know of a solution so that I am able to change the selected item!! Help Please