Error!
Success!

WPF: Dictionary Value Converter - Arik Poznanski's Blog

0
kicks

WPF: Dictionary Value Converter - Arik Poznanski's Blog  (Unpublished)

You want to convert an enum value to a bitmap image. That’s easy, here’s a solution Usually you would simply create a new value converter which has some custom code (e.g. a switch –case statement) to convert from the enum value to the relevant image.Is there a better solution? How many times have you written this kind of converter, the kind that takes a value and maps it to another value? Well, no more!


Kicked By:
Drop Kicked By: