Skip to content

ElementName bindings don't work inside ItemsRepeater DataTemplate #560

@JohnnyWestlake

Description

@JohnnyWestlake

Describe the bug
As described, using ElementName bindings inside the datatemplate of an Items Repeater appears to fail. The same template inside anything that inherits ItemsControl works fine.

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Create an ItemsRepeater
  2. Inside it's DataTemplate, use an elementname binding to something outside of the ItemsRepeaters VisualTree.
  3. Observe infinite nothingness

Expected behavior
It works.

Version Info
O.S. 18362.53
MinVersion SDK: 17134
MaxVersion SDK: 17763

NuGet package version:
2.1.190405004

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Bindingarea-ItemsRepeaterbugSomething isn't workingclosed-FixedDescribed behavior has been fixed.fix-releasedThe fix has been in a release (experimental, preview, stable, or servicing).needs-triageIssue needs to be triaged by the area ownersteam-ControlsIssue for the Controls teamteam-MarkupIssue for the Markup teamwct

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions