views:

13

answers:

0

Hello,

I have an AutoCompleteBox whose ValueMemberBinding uses a ValueConverter :

ValueMemberBinding="{Binding Converter={StaticResource MyValueConverter}}"

This ValueConverter uses a global property to convert the value. When I change this global property I'd like the AutoCompleteBox displayed strings to update accordingly.

For instance if, for a given item, the ValueConverter returns either "A" or "B", depending on the global property value, I'd like that the current match of the search remains the same but that the displayed value becomes "B" instead of "A".

Do you know any solution to get the expected behavior ?

Thanks in advance.