I was inspired to get off my duff and blog today by a tweet from Scott Hanselman . I didn’t really dig into the context of his tweet, but it was about TDD and WPF. In case you haven’t figured it out, I’m a big fan of WPF and TDD. Luckily, I’ve had the opportunity to work on a number of varied WPF projects...
There’s a lot of recent buzz about the Model-View-ViewModel or MVVM. (I pronounce it like it rhymes with Auntie Em .) Rather timely for me as a lot of my thinking about implementing UI patterns in WPF has begun to coalesce. There’s has been a lot of thought given to UI patterns prior to the advent of...
ChumChase Table of Contents I opened up the ChumChase code this evening with the sad realization that my last commits were on November 14th. Ouch. In reading over the code, something jumped out at me immediately. In the code-behind for Shell.xaml, I had a lot of logic that didn't need to be there...
In WPF work, it is very common to work with implementations of INotifyPropertyChanged . We need support for change notification in order to bind to the UI, and this interface is frequently the best approach. This means I have lots of properties that look like this: public string FirstName { get { return...
Updated 11/07/2008 I recently ran into an interesting situation. I had an ObservableCollection bound to my UI in WPF, and I needed to updated this collection on something other than the UI thread. In other words, I was adding items to a UI-bound collection on a different thread, which triggered the change...