Skip to content

Conversation

@bjarnesvanberg
Copy link
Contributor

After reading this question on StackOverflow I think it should be noted in the Remarks section what is necessary to get two-way binding to work with a template binding. Right now the Remarks section only tell us that "A TemplateBinding is always a one-way binding..." which suggest that it is not possible to make a two-way binding to a templated parent.

Summary

I have added en example of how to achieve two-way binding to a templated-parent in the Remarks section.

After reading [this question on StackOverflow](https://stackoverflow.com/questions/5913176/in-wpf-why-doesnt-templatebinding-work-where-binding-does) I think it should be noted in the Remarks section what is necessary to get two-way binding to work with a template binding. Right now the Remarks section only tell us that "A TemplateBinding is always a one-way binding..." which suggest that it is not possible to make a two-way binding to a templated parent.
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for spotting this and submitting a fix @bjarnesvanberg

We appreciate it.

I've reviewed the change, and I'll :shipit: now.

Thanks for contributing to docs! 🎆

@BillWagner BillWagner added the ✨ 1st-time docs contributor! Indicates PRs from new contributors to the docs repository label Jul 13, 2018
@BillWagner BillWagner merged commit 075d7a9 into dotnet:master Jul 13, 2018
@bjarnesvanberg bjarnesvanberg deleted the patch-1 branch July 18, 2018 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ 1st-time docs contributor! Indicates PRs from new contributors to the docs repository

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants