Category Archives: WPF

Simple Flip Book Animation in WPF

WPF makes it easy to animate numbers, colors, sizes, and a host of other properties. Unfortunately, it isn’t easy to animate an ImageSource property, which is what we’re usually looking for when implementing a flip book animation. The closest we … Read the rest of this entry

Filed in code, Windows, WPF | Comment Now

Using Win32 Icons in WPF

Using custom icons can be a little tricky in WPF. It’s simple enough if you want to use your application’s main icon or an icon file that you can refer to using a pack URI – so long as you … Read the rest of this entry

Filed in code, Windows, WPF | Comment Now

WPF: Subtle Binding Crash

Got a crash in, of all things, System.Windows.Controls.Primitives.Popup.OnWindowResize(Object sender, AutoResizedEventArgs e). A NullReferenceException, to be precise. Ages later, it turns out that this error was actually caused by a binding operation on one of the controls in the popup failing … Read the rest of this entry

Filed in code, WPF | Comment Now