Author: comestate | Posted on: 6/20/2008 8:15:06 AM | Views : 366

Hello,
I would like to know if there's a performant way to do re-binding.
I have the following situation:
I have 3 ListBox: lstAllCases, lstVector, lstEntity whose ItemSource property is set to a List<VectorSummary> //where VectorSummary is my object
 
lstAllCases is binded to the Case property in the  VectorSummary class, lstVector is binded to the Vector property and lstEntity is binded to the Entity property.

I have also checkbox in the ListBox lstAllCases . So when the user selects one of the checkboxes I'm using linq to objects query to filter the ListBox lstVector and lstEntity.
When the user unchecks the checkbox found in the lstAllCases ,  I rebind to their origin ItemSource for the two lstVector and lstEntity and this is done by using a global variable List<VectorSummary>.
 
So here comes the problem:
The rebinding is taking some time, that is after the user unchecks th ...

Go to the complete details ...