protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null) { PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); GridCarinfo.ItemsSource = carsInfo; GridCarinfo.RefreshData(); }
private void FrameworkElement_OnLoaded(object sender, RoutedEventArgs e) { carsInfo = DataManager.GetAllOffers(); GridCarinfo.ItemsSource = carsInfo; GridCarinfo.RefreshData(); }