Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContentPresenter does not update when DataTemplates of parent scope changes. #7742

Open
pr8x opened this issue Mar 3, 2022 · 0 comments
Open
Labels

Comments

@pr8x
Copy link
Contributor

pr8x commented Mar 3, 2022

Describe the bug

ContentPresenter does not update when DataTemplates of parent scope changes.

To Reproduce

av_datatemplates_not_updating.patch.txt

Expected behavior

Since DataTemplates is an observable collection I would expect ContentPresenter to listen to changes in the collection and update its Child once a template with higher "precedence" is inserted (i.e. a template that is higher up in the collection). Likewise removing templates from DataTemplates should proably clear the child of ContentPresenter

@pr8x pr8x added the bug label Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant