"binding to converter parameter" Code Answer

5

unfortunetly no, you can't bind to a converterparameter. there's two options i've used in the past: instead of using a converter, create a property on your viewmodel (or whatever you're binding to) which does the conversion for you. if you still want to go the converter route, pass the entire bound object to the converter and then you can do your calculation that way.

By mattmilten on August 19 2022

Answers related to “binding to converter parameter”

Only authorized users can answer the Search term. Please sign in first, or register a free account.