I got a DataGridView which does not paint it content cells. The header are visible and can be resized. The vertical scrollbar is there and can be moved - so the rows are existing (when the source changes, the scrollbar updates correctly).
But the part where the cells should be painted stays "unpainted" meaning you can see some of the effects when there is no refresh to part of a display. There are ghost of the background when you move the form and when you open the context menu and closes it, it graphic will remain in the "cell part" of the DataGridView.
Has anyone encountered this effect?
RowPrePaint
event. When an exception occurs within the event handler the data grid silently catches it and simply does not paint. A try-catch-block by myself was all to do (and fix the source of the exception to improve my code of course). (Will answer the question after 24 hours when it is possible for me to mark question closed.) – ZoolWay