Skip to content

DataTemplate doesn't support its datatype to self-refer. #9395

Open

Description

Describe the bug

I tried to show a computing expression like ((1 + 2) + 3) using a ContentControl and DataTemplates. But error occurred when a DataTemplate contained a child using the same template as itself.
As comparison, it works well when the adding expression doen't contains an adding expression as its child.

Steps to reproduce the bug

check the sample code

Expected behavior

No response

Screenshots

screenprint

NuGet package version

WinUI 3 - Windows App SDK 1.5.0: 1.5.240227000

Windows version

No response

Additional context

sample.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingteam-ReachIssue for the Reach team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions