I need to know how to bind to a particular value in a key-value collection that is a property of an object. For example, if I have a collection of “car” objects, each of which has a “engine values” property that is just a Dictionary of strings keyed by strings… how would I say, add a column to a ListView control that bound to the value of the dictionary element with a key of “cylinder count” within the “engine values” property of the “car” object?
Share
You could create a custom ValueConverter for this task and pass the key as the ConverterParameter. Something like