private void OnSelectedMenuItemChanged() { FilteredItems.RemoveRange(0, FilteredItems.Count); FilteredItems.Merge(TopItems.Where(topItem => topItem.Type == SelectedMenuItem)); }