Silverlight UI Thread Freezing

I have a grid control that tries to display large amounts of data, so it takes a long time to display in the user interface stream.

I added a loading panel that animates and displays depending on whether the screen is busy or not (this is rendering).

However, the loading bar just freezes when the grid tries to display. I guess this is because there is only one user interface thread and this thread is busy.

Does anyone know how I can support an animated loading bar?

Many thanks,

Matt

+3
source share
2 answers

, , , "" , "DoEvents()" Windows Forms. , , , .

- ? , .

? , FrameworkElements, VirtualizingStackPanel. , , PagedCollectionView, . . . . ( ?) .

0

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


All Articles