I am developing a pocket pc application
I want to change the color of a DataGrid cell. For that, I'd like to override the Paint method of DataGridColumnStyle class.
My code is as follows:
public override void Paint(Graphics g, Rectangle Bounds, CurrencyManager Source, int RowNum, Brush BackBrush, Brush ForeBrush, bool AlignToRight)
{
...
}
The error I have is : "no suitable method to override"
Regards,
Derek Ng
I want to change the color of a DataGrid cell. For that, I'd like to override the Paint method of DataGridColumnStyle class.
My code is as follows:
public override void Paint(Graphics g, Rectangle Bounds, CurrencyManager Source, int RowNum, Brush BackBrush, Brush ForeBrush, bool AlignToRight)
{
...
}
The error I have is : "no suitable method to override"
Regards,
Derek Ng