I
I
iRumba2015-03-30 13:48:47
WPF
iRumba, 2015-03-30 13:48:47

Is there an event that fires when WPF controls are rendered?

I saw in some programs (for example aimp) updating information on items in the playlist when they are displayed. That is, I throw a folder into the player, a separate item is created for each file, but the information in them is displayed gradually, as you scroll through. How can something similar be done with WPF controls?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AxisPod, 2015-03-30
@AxisPod

In the same Aimp, this is done quite differently. If you have a lot of data, use control virtualization. Aimp obviously does not wait for display, it is done through a virtual control, the control does not store data that is not displayed, but each time it requests it from the user code if necessary, you can do whatever you like here. At the same time, WPF controls support virtualization, although most likely it will not work without shamanism.
I was picking here www.codeproject.com/Articles/34405/WPF-Data-Virtua... everything turned out without problems.
And in your case, you will need to give data with information about the preparation of the data, and subsequently update them. WPF will help with this.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question