Data Binding: Boost Your Apps' Performance Through New Enhancements to XAML Data Binding

Play Data Binding: Boost Your Apps' Performance Through New Enhancements to XAML Data Binding
Sign in to queue


So you're an MVVM developer you say?  You like your Binding statements?  Learn the improvements in Windows 10 to the story of data binding in XAML in this session.  This will be a deep-dive in understanding the new performance improvements to compiled binding statements in the platform.





Session Type:





Room 2001



The Discussion

  • User profile image

    Very good, these perfomance improvements were much needed.

  • User profile image

    It would be great if x:bind were available for WPF. If you agree, vote it up on UserVoice at

  • User profile image

    I took for granted that x:bind were available for WPF.
    MS have to add this feature to WPF also!
    Binding performance is not good when you have a tree with many elements!


  • User profile image
    George Birbilis

    It's a bad decision I think to change the default mode from OneWay to OneTime.

  • User profile image
    George Birbilis

    so isn't there any Intellisense to help against misspellings at binding?

  • User profile image
    George Birbilis

    at 19:04

    a) two-way binding could be implemented for non-Dependency properties too, using code like in:

    b) regarding TextBox and waiting for LostFocus event, will it support "UpdateSourceTrigger=PropertyChanged" setting at the binding? This is very important, since there are cases where you want to instantly update as the user types, not just at lost focus event

  • User profile image
    George Birbilis

    #fail at 20:40 - why create a partial class yourself to do InitializeComponent instead of the XAML compiler generating that for you?

  • User profile image
    George Birbilis

    [ If you need a converter you can use the verbose syntax for a template binding such as: {Binding RelativeSource={RelativeSource TemplatedParent}, Converter="..." ...} ]

    at 47:36 on the video he says though that "the documentation is lying", using TemplatedParent syntax is not the same as using TemplateBinding, which is optimized

  • User profile image

    Is there a way we can use x:Bind to bind on ViewModel commands from inside a DataTemplate? I can't seem to get the syntax correctly :(

  • User profile image

    Is there a way to use x:Bind with element? For example, my first toggleButton1 IsChecked property bind to my second toggleButton2 IsCheck? Classic binding supports ElementName.

  • User profile image

    Is the performance demo from the beginning of the session available anywhere?



  • User profile image
    Thomas Mutzl

    @BaoN: Elementbinding is easy! As soon as an element gets a x:Name it becomes a property of the class and other controls can x:Bind to this property.

Add Your 2 Cents