Skip to content

Doesn't cover assigning resource strings to properties #4724

@dotMorten

Description

@dotMorten

The doc covers how to create a resource "Greetings.Text", and assign x:uid="Greetings" to the TextBlock, which will implicitly set the Text property. However it doesn't cover how to assign the Text property directly to a resource property.
I'd like to say how I achieve:
<TextBlock Text="{WHAT DO I PUT HERE TO GET RESOURCE STRING}" />


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions