Monthly archives: June, 2011

Empty WPF ListBox

I needed to show some text when a ListBox was empty, a quick Google turned up a StackOverflow question that was just the ticket!



Getting a .NET Color Name

I needed to find out the standard .NET colour name for for a Color object, assuming the Color object was a standard .NET colour! As there is no built in way of doing this I created a simple helper class, the code is below.