public override void PaintRow(TableChildRendererBase tableChildRenderer, TablePaintRowArgs ea, bool isRowMarked, bool isSelected, ColumnsManager columnsManager)
        {
            Region orgRegion = ea.Graphics.Clip;

            for (int i = ea.CellsData.Count - 1; i >= 0; i--)
            {
                PaintCellBackground(tableChildRenderer, ea.CellsData[i], ea.Graphics, ea.Item, isRowMarked, isSelected, columnsManager);
                PaintCellControls(tableChildRenderer, ea.Item, ea.Graphics, ea.CellsData[i], columnsManager, isRowMarked, isSelected);
            }

            ea.Graphics.Clip = orgRegion;
        }
Beispiel #2
0
        public override void PaintRow(TableChildRendererBase tableChildRenderer, TablePaintRowArgs ea, bool isRowMarked, bool isSelected, ColumnsManager columnsManager)
        {
            Region orgRegion   = ea.Graphics.Clip;
            Region tableRegion = tableControl.isHscrollShown() ? orgRegion : GetTableColumnsRegion();

            for (int i = ea.CellsData.Count - 1; i >= 0; i--)
            {
                PaintCellBackground(tableChildRenderer, ea.CellsData[i], ea.Graphics, ea.Item, isRowMarked, isSelected, columnsManager);
            }
            ea.Graphics.Clip = tableRegion;
            PaintRowControls(tableChildRenderer, ea.Graphics, ea.Item, isRowMarked, isSelected, columnsManager);
            ea.Graphics.Clip = orgRegion;
            tableRegion.Dispose();
        }
Beispiel #3
0
 /// <summary>
 /// paint table row
 /// </summary>
 public abstract void PaintRow(TableChildRendererBase tableChildRenderer, TablePaintRowArgs ea, bool isRowMarked, bool isSelected, ColumnsManager columnsManager);