System.Windows.Forms.ThemeWin32Classic.DataGridPaintRow C# (CSharp) Method

DataGridPaintRow() public method

public DataGridPaintRow ( Graphics g, int row, Rectangle row_rect, bool is_newrow, Rectangle clip, System.Windows.Forms.DataGrid grid ) : void
g System.Drawing.Graphics
row int
row_rect System.Drawing.Rectangle
is_newrow bool
clip System.Drawing.Rectangle
grid System.Windows.Forms.DataGrid
return void
		public override void DataGridPaintRow (Graphics g, int row, Rectangle row_rect, bool is_newrow,
						       Rectangle clip, DataGrid grid)
		{			
			/* paint the header if it's visible and intersects the clip */
			if (grid.CurrentTableStyle.CurrentRowHeadersVisible) {
				Rectangle rect_header = row_rect;
				rect_header.Width = grid.RowHeaderWidth;
				row_rect.X += grid.RowHeaderWidth;
				if (clip.IntersectsWith (rect_header)) {
					DataGridPaintRowHeader (g, rect_header, row, grid);
				}
			}

			DataGridPaintRowContents (g, row, row_rect, is_newrow, clip, grid);
		}
		
ThemeWin32Classic