public override void RefreshUIElements() { base.RefreshUIElements(); if (SelectedReports == null || !SelectedReports.Any()) { return; } foreach (var report in SelectedReports) // Refresh associated websites { if (report.Websites == null) { report.Websites = new ObservableCollection <string>(); } report.Websites = WebsiteDataService.GetWebsiteNamesForReport(report.Report.Id).ToObservableCollection(); } }