Skip to content

Some local properties are initialized after after the implicit content initializer #18871

Open
@jeromelaban

Description

@jeromelaban

Current behavior

Given #18870, remove the content template and place the TextBlock at the root of the page, notice that the binding is evaluated too early.

Expected behavior

The textblock shows properly

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

Delay the evaluation, for example by using a templated control.

Works on UWP/WinUI

Yes

Environment

No response

NuGet package version(s)

5.5.43

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/code-generationCategorizes an issue or PR as relevant to code generationdifficulty/medium 🤔Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUIkind/bugSomething isn't workingproject/core-tools 🛠️Categorizes an issue or PR as relevant to core and tools

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions