Solved. Missed on a few details. VirtualizationStackpanel
mode set to Recycling
helped in rendering data faster and filtering out content.
WP8 Listbox takes too much time to render UI for large set of items
-
20-06-2023 - |
Pregunta
I have a large ObservableCollection
containing text data which is populated to a listbox itemssource. Data fetching is fine, but Listbox rendering takes time, about 4-5 seconds.
Plus, I have a textbox where I want to filter out the listbox itemesource, if the text entered in the textbox starts with the item's text using Linq.
List<Locality> l = Collection.FindAll(Locality=>Locality.name.ToLower().StartsWith(keywordlocation.Text.Trim()));
The filtering also takes time in the data set and is ruining user experience. Any ideas how to decrease the rendering time and improve filtering.
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow