private void RefreshCollection() { if (Analysis?.Analyses == null || Analysis.Analyses.None()) { return; } CollectionViewSource.GetDefaultView(Analysis.Analyses).Refresh(); } }