private void TextBox_OnTextChanged(object sender, TextChangedEventArgs e) { var binding = InputBox.GetBindingExpression(TextBox.TextProperty); binding?.UpdateSource(); }