Paints a System.Windows.Forms.DataGridColumnStyle with the specified System.Drawing.Graphics, System.Drawing.Rectangle, System.Windows.Forms.CurrencyManager, row number, background color, foreground color, 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 table being referred to.
- backBrush
- A System.Drawing.Brush used to paint the background color.
- foreBrush
- A System.Drawing.Color used to paint the foreground color.
- alignToRight
- A value indicating whether to align the content to the right. true if the content is aligned to the right, otherwise, false.