Download screen for c # wpf list

I use the list box, which has about 500 thumbnails (items) that you can sort and search for.

Since I use default binding descriptors and search descriptors (which I heard are slow due to reflection), the list takes a noticeable pause in a few seconds, loading, sorting and performing a search (the list is dynamically updated depending on the contents of the search window so that the first or two letters entered were very slow).

I don’t think I can completely stop thinking to give time for the project, and the speed is not very important, but I would like some kind of graphic indication of the delay, so it does not confuse the user. How can I do something like a video upload screen on a website where a list selector and some kind of boot circle indicate it is being processed until the list is ready? Or even just grayish with the words "Loading ..." for a few seconds may work. Any ideas?

Thank you in advance for your help and suggestions!

+3
source share
3 answers

Silverlight-Controlkit comes with a very convenient "busyindicator" -control ... too bad, apparently there is no default WPF.

: http://sweux.com/blogs/pombeiro/index.php/2009/12/01/a-busy-state-indicator-attached-behavior/

-: http://gallery.expression.microsoft.com/en-us/BusyIndicator

+1

BackgroundWorker

DoWork ProgressChanged , "". ProgressBar

DoWork.

0

Source: https://habr.com/ru/post/1741511/


All Articles