Why does binding of my ObservableCollection<string> to Listbox not work?
问题 When I update a ObservableCollection<string> and call RaisePropertyChanged(..) somehow its content is not shown within my Listbox in WPF. I have no idea what I am doing wrong. The critical part is where I update the FileNames property: public class HistoricalDataViewRawDataViewModel : ViewModelBase { private string _currentDirectory; private ObservableCollection<string> _fileNames; private List<string> _rawData; public ICommand ChangeDirectoryCommand { get; private set; } public string