Binding Mode property default value

JonAlzaJonAlza ESMember ✭✭

I'm seeing documentation about XAML, bindings and MVVM. The documentation about BindingMode says that:

OneWay: Indicates that the binding should only propagates changes from source (usually the View Model) to target (the BindableObject). This is the default mode for most BindableProperty values.

So, having a Entry which Text property binded to Message property of the viewmodel, if I want to update tha value of Message from the view I need this XAML:

<Entry Text="{Binding Message, Mode=TwoWay}"/>

But, I'm testing that and without setting Mode the value of Message is updated:

<Entry Text="{Binding Message}"/>

That works so, is the documentation wrong?

Tagged:

Best Answers

Answers

  • JonAlzaJonAlza ESMember ✭✭

    Thank you for the answer @ClintStLaurent, do you know if there is a link with default values for each control?

  • JonAlzaJonAlza ESMember ✭✭

    Thank you again!

Sign In or Register to comment.