installed the beta 9, created a new fresh project and added my existing code to it.
Now setting the ItemSource to null doesn't raise any exception, but setting to a new fresh source list the ItemsControls doesn't update, the items remain listed in the control even if the source list is empty.
In my case, there are two ItemsControl
, same XAML
, different binding, the first is working, the second is not
. I've tried tenth of combination in XAML and in code. In beta 9 I set the ItemsControl.ItemsSource to null and manually remove elements from ItemsControl.Items, without any success. Same result anyway, the first control works correctly, the second doesn't.
You can see my work in progress here: http://webboggler.xidea.it/game
. If you join (Partecipa) with different browser windows you can see the Players list (Giocatori) updating correctly when you close or add a new window. If you add words, (sorry, you must enter italian words) when a new round starts up you see the words' list doesn't clear even if in code there is a new empty list assigned to ItemsSource.
Furtherly, the Border thickness issue seems solved, but actually I've got the correct rendering by removing the wrapping Grid elements that surrounded the Border control. It seems to render better, but not everytime correctly.
Another thing: the DateTime.Now.ToUniversalTime.ToString() doesnt returns the time, but the date only.