It is well-known that you cannot update the UI from any other thread other than the UI thread.
However, I just discovered some code, that gets a value of a listview virtualsize, from a non-UI thread without Exception.
So really my question is:
what interaction can you have with the UI from a non-UI thread?
Thank you
Theo
Because it works without throwing an exception, does not mean you should do this.
The problem is that besides the
Invokerequirement for methods that update the UI, these controls also do not support multi threading. That means that when the UI thread updates the data while you are retrieving it, you do get corrupt data.