I’ve started to use my WpfSplitButton control in one of my projects and I’m discovering some difficulties and/or inconveniences with it. I’m now resolving some of those issues and will release an update in a few days.
July 9, 2009
July 6, 2009
June 24, 2009
June 22, 2009
June 19, 2009
June 12, 2009
ArrayCasting Helper Class
I’ve found myself in the situation where I have an array of objects that I want to cast into an array of some other type. You’d think that this would be as simple as: (TheType[])objectArray, but unfortunately, one way or another, you have to loop through each object and cast it into the new type. This becomes a pain when you need to do it frequently.
May 21, 2009
Frame-Based Animation In WPF
Introduction
In WPF most animations are time-based, using storyboards to animate a objects properties over a certain period of time. That is great and works well, until an artist hands you a stack of images that are to be used as individual frames of an animation. This is my current situation, so I spent an hour or two trying to figure out a way to accomplish frame-based animations in WPF. This is what I came up with…