public PaletteDataGridViewCells(PaletteDataGridViewRedirect inherit,
NeedPaintHandler needPaint)
{
Debug.Assert(inherit != null);
// Store the provided paint notification delegate
NeedPaint = needPaint;
// Create storage that maps onto the inherit instances
_dataCell = new PaletteDataGridViewTripleStates(inherit.DataCell, needPaint);
_headerColumn = new PaletteDataGridViewTripleStates(inherit.HeaderColumn, needPaint);
_headerRow = new PaletteDataGridViewTripleStates(inherit.HeaderRow, needPaint);
}