DataGridViewRowPostPaintEventArgs.PaintCells(Rectangle, DataGridViewPaintParts) 메서드

정의

지정된 범위의 영역에 지정된 셀 부분을 그립니다.Paints the specified cell parts for the area in the specified bounds.

public:
 void PaintCells(System::Drawing::Rectangle clipBounds, System::Windows::Forms::DataGridViewPaintParts paintParts);
public void PaintCells (System.Drawing.Rectangle clipBounds, System.Windows.Forms.DataGridViewPaintParts paintParts);
member this.PaintCells : System.Drawing.Rectangle * System.Windows.Forms.DataGridViewPaintParts -> unit
Public Sub PaintCells (clipBounds As Rectangle, paintParts As DataGridViewPaintParts)

매개 변수

clipBounds
Rectangle

그릴 Rectangle의 영역을 지정하는 DataGridView입니다.A Rectangle that specifies the area of the DataGridView to be painted.

paintParts
DataGridViewPaintParts

그릴 부분을 지정하는 DataGridViewPaintParts 값의 비트 조합입니다.A bitwise combination of DataGridViewPaintParts values specifying the parts to paint.

예외

RowIndex가 0보다 작거나 DataGridView 컨트롤의 행 수에서 1을 뺀 값보다 큰 경우RowIndex is less than zero or greater than the number of rows in the DataGridView control minus one.

적용 대상

추가 정보