BeginUpdate equivalent in WPF?

Posted by Lith on Stack Overflow See other posts from Stack Overflow or by Lith
Published on 2010-05-04T22:34:07Z Indexed on 2010/05/04 22:38 UTC
Read the original article Hit count: 290

Filed under:
|

My problem is that I need to add a lot of items to a ListBox in WPF. In WinForms you'd just use the BeginUpdate(); method, add everything, and finally use the EndUpdate(); method.

So, how would I stop the drawing in a WPF listbox until every item is added and then draw everything in one go?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about c#