/// <summary> /// UPDATE THE LIST VIEW ACCORDING TO THE FILTER /// </summary> public void UpdateList() { lvRentVehicleList.ItemsSource = Rental.GetAvailableVehicles(txtFilter.Text); lvRentVehicleList.Items.Refresh(); }