79724952

Date: 2025-08-04 13:21:30
Score: 1.5
Natty:
Report link

thank you very much for your comments! I post an answer for completeness: yes guys you are right, that's not the Binding that was responsible for the crash. I have a function which binds a TextBox.Text to SelectedItem of ListView as follows:

    (listView.SelectedItem as Element).Patient.SurName = (sender as TextBox).Text;

.. and I did not check if SelectedItem is not null. After checking this all worked fine.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: kosholu