I need to concatenate two strings from string resources into a label. I want something like this
when Content is a string
, framework creates a TextBlock behind the scenes to display it. So
<Label Content="Smth"/>
is transformed into
<Label>
<TextBlock Text="Smth"/>
</Label>
you can add TextBlock in xaml and explicitly assign two strings from Resources:
<Label>
<TextBlock>
<Run Text="{StaticResource Menu}"/>
<Run Text="{StaticResource Name}"/>
</TextBlock>
</Label>