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.
- 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.