using LangProvider with Prism
See original GitHub issueHi, I want to use a LangProvider in my application with prism But binding doesn’t work
<Label Content="{ex:Lang Key={Binding hello}}"/>
and this is my property in viewmodel
private string _hello = "hello";
public string hello
{
get { return _hello; }
set { SetProperty(ref _hello, value); }
}
I tried this too but it didn’t work
<Label Content="{ex:Lang Key={Binding DataContext.hello}}"/>
It works well without the use of prism
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Initializing Applications Using the Prism Library for WPF
Prism uses a concrete IModuleCatalog instance to keep track of what modules are available to the application, which modules may need to be...
Read more >Getting Started | PRISM
Setup your project to be able to access artifactory; Install PRISM packages (individually or the entire library); Use PRISM Styles and Components in...
Read more >[1.19.2] Internal Exception: io.netty.handler.codec. ...
I am trying to connect to a 1.19.2 Forge server with mods and instead of joining, I am stuck on loading screen which...
Read more >Mirror - Page 2 - Modder Support
For those who don't recognize the initialisms, "GL" = graphics library. The debugger is a powerful and necessary tool in any IDE, so...
Read more >WPF - 全球化- 多语言处理- 2324736194
请参考Resources in .NET apps。 ... xmlns:prism="http://prismlibrary.com/" ... public class LangProvider : INotifyPropertyChanged.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
try again! i guess it worked!
thank you it worked😉