WPF: How can I bind a label to ObjectDataProvider and specify the parameters?
-
30-09-2019 - |
문제
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 ...}.
해결책
Check this code project article out WPF Localization
제휴하지 않습니다 StackOverflow