microsoft/Appsample-Photosharing

Binding vs x:Bind

Opened this issue · 2 comments

hrach commented

Why does the example use Binding instead of x:Bind? I undestood that Binding is depdrecated in favor of x:Bind which is more performant, typing safe, etc :) Thanks for answer!

Hi Jan, thanks for reaching out. I agree on your arguments regarding type safety and performance. In regards to the complexity of the UI, we wanted to have native support of design-time data, which is why we've decided for Binding over x:Bind for the current version.

hrach commented

Oh, I missed such an important difference :-) Thanks for clarification! Feel free to close or let it open if you are considering such change.