x:Bind vs TemplateBinding inside ControlTemplate #9796
Unanswered
Naveen61097
asked this question in
Q&A
Replies: 1 comment
-
TemplateBinding is one-way mode, reduce the code behind generating and using, which makes it more lightweight.This is only my thought.I still have the same question. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://learn.microsoft.com/en-us/windows/uwp/xaml-platform/templatebinding-markup-extension#xbind-in-controltemplate
What is the difference between using TemplateBinding and x:Bind inside the ControlTemplate? On the document, it is mentioned that Function Binding and Twoway binding can be done through x:Bind. But is there any internal info that TemplateBinding is more lightweight than x:Bind? Is TemplateBinding better than x:Bind in terms of performance?
Beta Was this translation helpful? Give feedback.
All reactions