views:

33

answers:

0

I have a listbox with a datatemplate that contains a number of comboboxes.

I've currently got a datatrigger on the datatemplate to change the bindingsource (to a different objectdataprovider resource declared in my xaml) of one of the comboboxes depending upon the selectedvalue of another combo.

What I'd like to do is have a parameterized resource (if that's possible) whereby the objectdataprovider will have different values depending on the selectedValue of my trigger combobox.

Is that possible? If so (or not) any pointers in the right direction would be much appreciated!

Thanks very much.