WPF: How can I bind a label to ObjectDataProvider and specify the parameters?
-
30-09-2019 - |
Question
What I need to do is:
a) I MUST use custom localization (legacy system)
b) Users need to be able to change the localization at will from with the application
c) Localization must be done via data binding
So, I guess the way to go would be to use the ObjectDataProvider, but how would I specify the parameter being passed?
Such as "okbutton.text" for "OK"?
What I would need is the syntax for {Binding ...}.
Solution
Check this code project article out WPF Localization
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow