Example #1
0
        void tableControl1_TableDrawFgCell(object sender, TablePaintRowArgs ea)
        {
#if !PocketPC
            if (ea.Row < 15)
            {
                ea.Graphics.DrawString("row" + ea.Row, tableControl1.Font, Brushes.White, ea.Rect);
            }
#endif
        }
Example #2
0
        void tableControl1_TableDrawBgCell(object sender, TablePaintRowArgs ea)
        {
            SolidBrush brush = new SolidBrush(Color.Blue);

            if (ea.Row % 2 == 1)
            {
                brush = new SolidBrush(Color.Salmon);
            }
            ea.Graphics.FillRectangle(brush, ea.Rect);
        }
Example #3
0
 internal void PaintItemHandler(object sender, TablePaintRowArgs e)
 {
     handleEvent(EventType.PAINT_ITEM, sender, e);
 }