txtTarget.Text
is updated whenever the bound source (txtSource.Text
) changes.
The binding mode is TwoWay
which means that changes to txtTarget.Text
will be reflected to the bound source. When? It depends on the Binding.UpdataSourceTrigger
property.
If you want your target binding to update your source binding when changing you must use
Binding.UpdataSourceTrigger = OnPropertyChanged
, otherwise you will update the binding source when txtTarget losts focus (default behavior).