The best way is to use a derivative of the IValueConvertor class. You are attached to the dictionary itself and set ConverterParameter = 'testElement', in your converter you get both the dictionary and the key and return what you need.
Eugen source share