Page 1 of 1

TextBox:TextChanged event

Posted: 10 Mar 2022, 04:52
by peerlessDJ
1646883865(1).png
1646883865(1).png (3.67 KiB) Viewed 880 times
When UI is destructed, TextChanged will be triggered once, and this text is "",Is this correct?

Re: TextBox:TextChanged event

Posted: 10 Mar 2022, 11:06
by sfernandez
Is the TextBox.Text property bound to a ViewModel?
In that case, is the DataContext being removed before the UI gets destroyed?
That could be the reason why you are getting a last TextChanged notification.