• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: X:Static doesn’t work in TextBlock. (WPF)

Resolved: X:Static doesn’t work in TextBlock. (WPF)

0
By Isaac Tonny on 17/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

I just started learning WPF, and a problem arose. X:Static does not display the value from the .resx file, just writes the line itself. There are no errors in the console.
At the same time, it’s just not displayed in TextBlock.
Full file listing

Answer:

{...} are markupextensions syntax and only valid in attributes. Either do
or

If you have better answer, please add a comment about this, thank you!

c# visual-studio wpf
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: linq2db throws exception when filtering by nested collection

02/04/2023

Resolved: Table data is coming as empty in React

02/04/2023

Resolved: In a Pinescript v5 Strategy why is my bool not working?

02/04/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.