Skip to content

TemplateBinding evaluation is incorrect #1621

Closed

Description

@jeromelaban

Current behavior

The templated parent is propagated through dependency property inheritance, but should be assigned when the XAML is parsed/loaded.

This has the effect of having nested controls in control templates to use an incorrect for their template bindings.

Expected behavior

The TemplatedParent is set through XAML parsing/loading.

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

Comment this method's body and display a forms page. A gray area will appear at the top.

Environment

Nuget Package:

Package Version(s): 2.0-dev.x

Anything else we need to know?

Related to #8049

Activity

  1. added
    kind/bug
    triage/untriaged
    platform/android 🤖
    platform/ios 🍎
    platform/wasm 🌐
    area/xf-wasm-renderers
    and removed
    triage/untriaged
    on Sep 27, 2019
  2. modified the milestone: 3.1 on Aug 29, 2020
  3. added
    project/binding 🪢
    on Sep 15, 2020
  4. added
    project/animations 🎡
    and removed
    project/animations 🎡
    on Sep 21, 2020
  5. added
    difficulty/tbd
    on Feb 15, 2021
  6. added
    difficulty/medium 🤔
    and removed
    difficulty/tbd
    on May 31, 2021
  7. removed their assignment
    on Oct 5, 2022
  8. self-assigned this
    on Jun 28, 2023
  9. changed the title [-]TemplateBinding evaluation is incorrect[/-] [+]`TemplateBinding` evaluation is incorrect[/+] on Jul 31, 2023
  10. github-actions commented on May 8, 2026

    @github-actions
    Contributor

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.

  11. locked as resolved and limited conversation to collaborators on May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/xf-wasm-renderersdifficulty/medium 🤔kind/bugplatform/android 🤖platform/ios 🍎platform/wasm 🌐project/binding 🪢

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions