Resolved Changing the FontSize of the DataGridView ErrorText

tim8w

Well-known member
Joined
Sep 8, 2020
Messages
131
Programming Experience
10+
Is there a way to change the FontSize of the ErrorText displayed in DataGridView or a way to override the default behavior and draw it yourself?

I assume that it is using the FontSize of the Row or Cell?
 
It should. And if that fails, I think that you would have to hook the data grid view cell painting event. Check for a non-empty ErrorText, and then do your own painting of a cell if it is non-empty.
 
Last edited:
Back
Top Bottom