C
C#3y ago
_skimi

Mvvm problem

Why is the text block not updating dynamically when I enter data. It will only update when I click on the button. How can I make text print dynamically as I type it on the keyboard.
3 Replies
_skimi
_skimiOP3y ago
The text only appears when I click on the button.
Pobiega
Pobiega3y ago
you need to set UpdateSourceTrigger="PropertyChanged" on your binding the default behaviour is to emit the update event only when your control loses focus
_skimi
_skimiOP3y ago
Thank catlove

Did you find this page helpful?