I created a custom MultiValue converter to execute a bit of logic, and MultiBinding for a TextBox; however, I do not want to use convertBack, since the binding value is not of compile time type, and the default conversion works fine. Is this possible, or do I need to somehow replicate the function of one of the internal default converters?
Diagram:
values --> Convert() --> TextBox values <---------------- TextBox
Thanks.
Edit: forgot to mention that I use MultiValueConverter and MultiBinding, which seem to bypass the default converter.
Edit: To expand the reasoning behind this: I have two objects A and B (of the same type) that I want to edit at the same time in a TextBox. In the Convert method, I check if they are the same value and either display the value or the default value. If the user changes the value in the TextBox, I want the same value to be sent back to A and B.
Edit: I solved the problem in circular mode - see my answer below. If you have a better solution, I will still be grateful for that. Thanks again for your time and help.
source share