To force a TextBox to pass the value back to the binding source, you can:
var binding = myTextBox.GetBindingExpression(TextBox.TextProperty);
binding.UpdateSource();
, Text, , .
<TextBox Name="myTextBox"
Text="{Binding TestText, UpdateSourceTrigger=PropertyChanged}" />
. , , - , TextBox, OnKeyDown, , UpdateSource, , SelectAll TextBox, , "" . TextBox , , , .