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