System.Windows.Forms.DataGridBoolColumn.Paint Method

Draws the System.Windows.Forms.DataGridBoolColumn with the given System.Drawing.Graphics, System.Drawing.Rectangle and row number.

Syntax

protected override void Paint (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, CurrencyManager source, int rowNum)

Parameters

g
The System.Drawing.Graphics to draw to.
bounds
The bounding System.Drawing.Rectangle to paint into.
source
The System.Windows.Forms.CurrencyManager of the column.
rowNum
The number of the row referred to in the underlying data.

Remarks

This method paints the background with the background color in the graphics object passed in.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0