DataGridViewRowPostPaintEventArgs.PaintCellsContent(Rectangle) DataGridViewRowPostPaintEventArgs.PaintCellsContent(Rectangle) DataGridViewRowPostPaintEventArgs.PaintCellsContent(Rectangle) DataGridViewRowPostPaintEventArgs.PaintCellsContent(Rectangle) Method

定义

为指定边界中的区域绘制单元格内容。Paints the cell contents for the area in the specified bounds.

public:
 void PaintCellsContent(System::Drawing::Rectangle clipBounds);
public void PaintCellsContent (System.Drawing.Rectangle clipBounds);
member this.PaintCellsContent : System.Drawing.Rectangle -> unit
Public Sub PaintCellsContent (clipBounds As Rectangle)

参数

clipBounds
Rectangle Rectangle Rectangle Rectangle

一个指定要绘制的 Rectangle 区域的 DataGridViewA Rectangle that specifies the area of the DataGridView to be painted.

异常

RowIndex 小于零或大于将 DataGridView 控件中的行数减一得到的值。RowIndex is less than zero or greater than the number of rows in the DataGridView control minus one.

适用于

另请参阅