0
我有兩個文本框。值是綁定的屬性:鼠標重點沒有在wpf更新的文本框
<TextBlock Text="Input 1" Margin="3,3,3,3" FontWeight="Normal" Foreground="#FFF4E7CA"/>
<TextBox Text="{Binding Processing.Input1}" Margin="3,3,6,3" FontWeight="Normal"/>
<TextBlock Text="Input 2" Margin="3,3,3,3" FontWeight="Normal" Foreground="#FFF4E7CA"/>
<TextBox Text="{Binding Processing.Input2}" Margin="3,3,6,3" FontWeight="Normal"/>
在第一個文本框更改值後,我按「保存」按鈕。 Textbox1的值將不會更新保存的結果。只有在將編輯後的文本框1的鼠標焦點移動到文本框2後,結果纔會更新。我怎樣才能讓文本框立即更新到屬性?
在此先感謝。
感謝。它工作正常liek這個! – olidev