private void TextBox_PreviewTextInput(object sender, TextCompositionEventArgs e)
{
var textBox = sender as TextBox;
if (textBox != null)
{
var bindingExpression = textBox.GetBindingExpression(TextBox.TextProperty);
bindingExpression?.UpdateSource(); // 수동으로 바인딩 업데이트
}
}
Text 가 입력될때마다 강제 업데이트할 수 있다.