Tuesday, November 17, 2009

Listbox's annoying habit

Am I the only person annoyed by the behaviour of the WPF ListBox?

Create a page with a ListBox, define a nice DataTemplate Stick some data in the DataContext and... nothing happens.

So much for the DataContext being the center of the universe eh?

You have to specifically declare if you want what ought really to be the default behaviour.

No comments: