'Declaration Protected Overloads Overridable Function DrawCell( _ ByVal e As PaintEventArgs, _ ByVal row As Integer, _ ByVal col As Integer, _ ByVal colorMode As DrawColorMode _ ) As Integer
protected virtual int DrawCell( PaintEventArgs e, int row, int col, DrawColorMode colorMode )
Parameters
- e
- A System.Windows.Forms.PaintEventArgs that contains a System.Drawing.Graphics object where the cell will be drawn.
- row
- Index of the cell's row.
- col
- Index of the cell's column.
- colorMode
- Drawing color mode.
Return Value
The index of the last column painted (may be greater than col if columns are merged).