Text Box Text Changed event in WPF
问题 So, for example if I have 2 text boxes in WFA. The following code works. private void textBox1_TextChanged(object sender, EventArgs e) { textBox2.Text = textBox1.Text; } And I get this. The text in the second text box equals to the text in the first one, when I change it. But when it comes to WPF, I get a completely different behavior. When I do this. private void textBox_TextChanged(object sender, TextChangedEventArgs e) { textBox1.Text = textBox.Text; } And press Ctrl+F5 to test the