This alias is either really cool or just plain wrong

I was working in a custom control today that exposes a dependency property of type System.Collections.ObjectModel.ObservableCollection<System.DateTime>.  After typing that type name a few times I decided it was time for a using statement at the top of the file to shorten things up.  But even ObservableCollection<DateTime> is pretty long. I... [Read More]

Improper Assumptions

We are in the final stretch of moving into our townhouse in Redmond.  We have to be out of the apartment by Tuesday morning in fact.  One of the tasks that's been on my plate since we bought the townhouse was to adjust the water heater to a manageable temperature,... [Read More]

Big Brother

Back in May, a couple hours after we arrived at the temporary apartment in Redmond, we pulled the laptop out to jump online.  Aboda furnishes their apartments with wireless cable modems, which is very nice.  We needed to pull up directions to go to dinner, and my instinct was to... [Read More]

Property Changed Events

When creating a class that can be used with data binding, you have to implement the INotifyPropertyChanged interface.  This interface requires that you have an event for PropertyChanged, specifying PropertyChangedEventArgs that provide the property name that was changed. Here’s what I mean: 1: public class Person : System.ComponentModel.INotifyPropertyChanged [Read More]