question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

using LangProvider with Prism

See original GitHub issue

Hi, 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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
NaBiancommented, May 6, 2020

try again! i guess it worked!

0reactions
ghost1372commented, May 7, 2020

thank you it worked😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found