protected override void PaintCell(DevAge.Drawing.GraphicsCache graphics, CellContext cellContext, RectangleF drawRectangle)
{
Range cellRange = PositionToCellRange(cellContext.Position);
if (cellRange.ColumnsCount == 1 && cellRange.RowsCount == 1)
{
base.PaintCell(graphics, cellContext, drawRectangle);
}
else //Row/Col Span > 1
{
Rectangle spanRect = RangeToRectangle(cellRange);
base.PaintCell(graphics, cellContext, spanRect);
}
}