I'm setting the ItemsSource on a TreeView controls like this:
public IEnumerable ItemsSource
treeView.ItemsSource = value;
I'm pretty sure this was working in the May CTP, but now it doesn't work unless I do this:
ObservableCollection<object> theCollection = new ObservableCollection<object>();
foreach (object item in value)
treeView.ItemsSource = theCollection;
Looks like a bug.
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.
Would you like to participate?