I'm creating a schedule using a datagridview. The cells in the grid need a lot of special behavour so I created my own Column and Cell classes. In the Cell.Paint method I draw the cell text in various colors, draw images and lines, depending on data values.
My question is this: What is the correct order to draw parts of the cell using the DataGridViewPaintParts? Does it matter? At present, the display is horrid - sometimes the cells are transparent (I can see what's underneath the application) and the text is scrambled. A really good example of how to paint a cell would be great!
View Complete Post