|
by Andrea Boschin via Silverlight & XAML Playground on 9/3/2010 4:38:49 PM
Many times I have to deal with enumerated values with databinding, and often this requires the writing of a converter to map the enum to something else. As an example you can have a Status enum and you need to transform it to a color (or a brush) in the UI, or you have a series of values from the enumerator and need to change it to an image when it is presented to the user. Finally these days I found a generic solution to these problems that let me create a mapping from a value (an enume
... [ read more ]
|