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의 영역을 지정하는 DataGridView입니다.

paintParts
DataGridViewPaintParts

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

예외

RowIndex가 0보다 작거나 DataGridView 컨트롤의 행 수에서 1을 뺀 값보다 큰 경우

적용 대상

추가 정보