private void RefreshButton_Click(object sender, RoutedEventArgs e) { viewModel.GetCars(); CarsCollection.Clear(); foreach (var car in viewModel.Cars) { CarsCollection.Add(car); } }