DataGridViewRowPostPaintEventArgs.PaintCells 메서드

정의

지정된 범위의 영역에 대해 지정된 셀 부분을 그립니다.

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 지정하는 A DataGridView 입니다.

paintParts
DataGridViewPaintParts

그릴 부분을 지정하는 값의 DataGridViewPaintParts 비트 조합입니다.

예외

RowIndex 가 0보다 작거나 컨트롤의 행 수에서 1 DataGridView 을 뺀 값보다 큽니다.

적용 대상

추가 정보