I am trying to populate a DataGridView cell with an image. The image is a 32-bit png with alpha transparency.
I can correctly display this image in a frame or in a Listview, but in a DataGridView, the image loses quality.
I tried to set the transparency of the transparent controls, but nothing works. I import the image into a resource file and then call it directly.
I have the feeling that I need to override the onpaint event to solve the transparency / color issue, but I'm not quite sure.
I would be grateful for any help!
The top image is that of a window with pictures and the bottom two in a DataGridView.
* Since I cannot use the image tag, see the following link for an example of a problem
http://bytes.com/attachments/attachment/2016d1245038555/imageissue.png
source
share