Using the State Pattern for Adorning in XAML

Here’s a technique I used for adding overlay icons to represent various states of a base view model. Typically, you’ll have a DataTemplate for your primary view model. If the model can be in various states, however, it becomes annoying to manage the data triggers to change the look of the icon, e.g. using adorners.

The Input Box That Isn’t

Just an Android rant. I really don’t like the Google Search widget on my Android desktop. Looks like a button, but isn’t. Why?? Also, apps that show multiple — sometimes 3 at a time — progress spinners. Ugh…