WPF: How can I bind a label to ObjectDataProvider and specify the parameters?
-
30-09-2019 - |
Pergunta
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 ...}.
Solução
Check this code project article out WPF Localization
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow