-1

In my last years release i used net core 3 and WPF like that:

<Label Content="{x:Static p:Resources.WJAJobtitle}" VerticalAlignment="Center"/>

Now i'm trying to upgrade to net 5 with WinUI3. As far as i read, i have to use now TextBlock instead of Label. I read the docs, but haven't found anything about static resources.

Maybe anyone knows, how to set it correctly?

Sascha Manns
  • 2,331
  • 2
  • 14
  • 21

1 Answers1

0

As found there the new format for such things are:

<TextBlock x:Uid="WJAJobtitle"/>
Sascha Manns
  • 2,331
  • 2
  • 14
  • 21