public void LoadFilterSet() { if (!IsExpanded) { return; } var EnumerableObjects = from object p in CompleteCollection select p; FilteredCollection.ClearAndAddRange(EnumerableObjects.Where(t => t.ToString().ContainsInvariant(FilterText)).Take(MaxResults)); }