public override void DataGridPaintRow (Graphics g, int row, Rectangle row_rect, bool is_newrow,
Rectangle clip, DataGrid grid)
{
/* paint the header if it's visible and intersects the clip */
if (grid.CurrentTableStyle.CurrentRowHeadersVisible) {
Rectangle rect_header = row_rect;
rect_header.Width = grid.RowHeaderWidth;
row_rect.X += grid.RowHeaderWidth;
if (clip.IntersectsWith (rect_header)) {
DataGridPaintRowHeader (g, rect_header, row, grid);
}
}
DataGridPaintRowContents (g, row, row_rect, is_newrow, clip, grid);
}