piDogDataView.DataView.PaintCellBackground
Scope: Public
Event PaintCellBackground(g as graphics, Row as integer, column as integer) As Boolean
Allows you to do the background painting. Return true if you've handled drawing.
//some example code to show cell background painting
If Me.Selected(row,column) Or Me.Selected(row) Then
  
  //doing our own highlght color
  g.ForeColor=HSV(.55,.5,.9)
  g.FillRect(0,0,g.Width,g.Height)
  
Else
  
  //shading based on rowdepth for sort-of a gradient look.
  g.ForeColor=HSV(.55,.1+Me.DataSource.RowDepth(row)/10,.95)
  g.FillRect(0,0,g.Width,g.Height)
  
End If
Return true