Skip to content

[Question] Binding resource with the code C# #1

@Abesoddy

Description

@Abesoddy

Hello,

Thank you for your example. However, I have a question, what should I do when I want to assign a resource by code?

I can access my resource like this :

TitleText = AppResources.ErrorReconnectDeviceTitle;

But the ui does not update when the language is changed. The update only works when the resources are binded through the xaml.

Do you have an idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions