I am trying to push in a number of updates to a collection to which I have bound a list box. Since the list can get quite big, i am trying to turn off updates (sorting, etc) until I finished inserting all the new items.
I figured:
using (col.DeferRefesh())
{
.. add the items
}
but this raises an exception saying that I cannot add/remove items while DeferRefresh() is on. Is there a proper pattern for doing what I am trying to do?