If you want your control to be always visible, it has to implement the <b>ICellViewer</b>-interface, and you have to set the <b>CellViewer</b>-property of the cells/columns to an instance of your control.
In the <b>ICellViewer.PaintCellValue</b>-method, you have to paint your control. This method has 2 arguments: <b>GridPaintEventArgs e</b> and <b>Cell c</b>. The value of the cell can be found in <b>c.Value</b>. The position and size of the cell are in <b>e.DisplayRectangle</b>, and the Graphics-object to paint to is <b>e.Graphics</b>.
Imported from legacy forums. Posted by Tommy (had 4097 views)