What is equivalent to UpdateSourceTrigger = PropertyChanged when using x: Bind?

<TextBox Text="{Binding MyTitle, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> 

Is there an equivalent to this when using x:Bind ?

If I use it like this, it only updates when the focus changes.

 <TextBox Text="{x:Bind ViewModel.MyTitle, Mode=TwoWay}" /> 
+7
c # data-binding windows-store-apps xaml
source share
1 answer

Ken Tucker is right, there is no UpdateSourceTrigger property for x: Bind and it behaves as it was set in PropertyChanged, with the exception of the TextBox, when it starts the lost focus. Check the bottom of this page . Therefore, in this case, you need to continue to use Binding.

+7
source share

All Articles