piDogDataView.DataView.HeadingTextPaint
Scope: Public
Event HeadingTextPaint(g as Graphics, column as integer, byref x as double, y as double, byref width as double) As Boolean
Use this event to draw the Header text. Return true if you've handled the event
Example:
//custom heading text rendering
Dim t As String=Me.DataSource.ColumnHeading(column).Titlecase
g.TextSize=12
g.Bold=True
g.ForeColor=&c000000aa
g.DrawString(t,x,y+1)
g.ForeColor=&cffffff
g.DrawString(t,x,y,width)
Return True