There are three modes of XAML bindings exists for either Binding
and x:Bind
:
InitializeComponent()
call. (ViewModel[sends data when initializing] -> View)Default mode of Binding
is OneWay
and that of x:Bind
is OneTime
.
Select the modes like this:
<TextBlock Text="{Binding SomeText, Mode=TwoWay}" /> <!-- Binding -->
<TextBlock Text="{x:Bind SomeText, Mode=OneWay}" /> <!-- x:Bind -->