Ok.. let's say you have the following code:
Code:
for (int i = 0; i < 91001; i++)
{
Listbox.Items.Add(i);
}
In WinForms I'd do:
Code:
Listbox.BeginUpdate();
for (int i = 0; i < 91001; i++)
{
Listbox.Items.Add(i);
}
ListBox.EndUpdate();
that would take perhaps, 3 seconds to execute... now in WPF the problem lies in the fact that I do not know how to stop the drawing until all items are added before drawing everything in one go.

The thing is, I need to load files (1~3 MB big, containing words/URLS on each line) into a Listbox, now when you just use the Listbox.Items.Add it would take centuries to load, let alone the resources it would consume.

So, if anyone could help me, I'd be grateful.

P.S: I am using the Bureau Black theme from http://wpf.codeplex.com/wikipage?title=WPF%20Themes