Jak odświeżyć okno w wpf?

 C Programming >> Programowanie C >  >> Tags >> WPF
Jak odświeżyć okno w wpf?

Czy lista to ObservableCollection? lub właściwości implementujące INotifyPropertyChanged ?

Czy próbowałeś:

myDatagrid.Items.Refresh();

Może:

this.NavigationService.Refresh();

lub

this.NavigationService.Navigate(new Uri("<EnterPage name here.xaml", UriKind.Relative));