I think you need to :
Update the
Departures
property explicitly, it could be done inside theCurrentStation
setterprivate Station _currentStation; public Station CurrentStation { get { return _currentStation; } set { _currentStation = value; Departures = Departure.GetDepartures(_currentStation); Console.WriteLine("New station selected: " + _currentStation.ToString()); OnPropertyChanged("CurrentStation"); } }
Trigger the change notification that will refresh your departures binding (and listbox!) with the famous
OnPropertyChanged
private ObservableCollection<Departure> _departures; public ObservableCollection<Departure> Departures { get { return _departures } set { _departures = value; OnPropertyChanged("Departures"); } }