System.Windows.Forms.DataGridColumnStyle.Paint Method

When overridden in a derived class, paints a System.Windows.Forms.DataGridColumnStyle with the specified System.Drawing.Graphics, System.Drawing.Rectangle, System.Windows.Forms.CurrencyManager, row number, and alignment.

Syntax

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

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 System.Windows.Forms.DataGrid control the column belongs to.
rowNum
The number of the row in the underlying data being referred to.
alignToRight
A value indicating whether to align the column's content to the right. true if the content should be aligned to the right; otherwise false.

Remarks

Documentation for this section has not yet been entered.

Requirements

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