The 2nd most popular article I’ve had on this blog has nothing to do with programming. While that could be depressing under a certain light, I think it’s actually quite telling of an interesting situation. I love my Kensington Expert Mouse, but it’s not supported under Vista. I wrote an...
[Read More]
Silverlight Control Template Doesn’t Get Applied
This is something that has bitten me several times, so I thought I’d write it down. Maybe I’ll remember, and maybe I’ll help others when they hit this too. The scenario happens when you want to create a new control that can have a template applied to it. Let’s start...
[Read More]
Binding Converters - VisibilityConverter
One of the reasons why the ViewModel pattern is so powerful in Silverlight and WPF is because Binding Converters can do so much. As we saw in HelloWorld.ViewModel, a ViewModel can expose a boolean property that is consumed as a Visibility value for controls. This requires some glue to convert...
[Read More]
HelloWorld.ViewModel – Code & Running App
I just updated my HelloWorld.ViewModel post from earlier today to include the full source code as well as a running app (and a screen shot).
Running app here. Source code here.
HelloWorld.ViewModel
A few folks asked me to provide a ViewModel sample of some sort. I thought this was a great idea, since I don’t know that I had seen a straight-forward ViewModel sample yet. So here it is: HelloWorld.ViewModel! Click the image to view the Silverlight sample live. Let’s start...
[Read More]