A common feature of Windows applications for many years has been the useful little “don’t she me this again”-style check boxes that may appear in a dialog box. The Task Dialog API directly supports this feature, too, and as such my WPF Task Dialog Wrapper exposes it as well. Today, I’ll show you how to easily leverage this in a realistic scenario. For more about the wrapper itself, see my article on CodeProject.
Mar 3, 2012
Nov 7, 2011
Using the WPF Task Dialog Wrapper in an MVVM Application
There's been a mini-flurry lately surrounding my WPF Task Dialog wrapper/emulator combo I blogged and posted about on CodeProject last year. Mostly bug fixes, which I'm happy to try to tackle, and I appreciate that people seem to actually be using it (else how would they find these bugs?). It's given me a little boost of incentive to possibly do some actual new features and improvements.
Oct 17, 2011
Converting an image byte array into a usable WPF BitmapSource
In a couple of our systems at work we store file attachments. The data gets put in a database table as a varbinary column. When we pull this down into our .NET apps, it’s represented as a byte[]. This is convenient to do image processing on it, as well as writing it to a file to be viewed, etc., but what about previewing straight in the application?
Sep 22, 2011
Some WPF Memory Leak Gotchas
Just a couple of insights I recently gleaned tracking down memory issues. I used the CLR Profiler and it worked well with snooping on heap allocation to find out what references were still being held onto and by what objects.
Apr 19, 2011
ItemsControl hidden feature when binding to a list
I've been battling (and finally, at last, solved) a particularly annoying problem lately which I was convinced for the longest time must be a bug. As usual, it was instead an undocumented feature. I tried to wait to write this so I wouldn't still be fuming after having torn my hair out for hours on end. I'll attempt civility, but if you detect a tinge of frustration you'll know why.
Dec 19, 2010
Yet another TaskDialog wrapper, this time for WPF!
There are a lot of .NET projects out there for adding TaskDialog support for your Windows applications. They can do this (relatively) easily enough by simply wrapping a lot of calls and types to the Win32 API directly, most importantly the TaskDialogIndirect function and its related TASKDIALOGCONFIG data structure.