DataGridViewCellPaintingEventArgs.PaintContent(Rectangle) Metoda

Definice

Nakreslí obsah buňky pro oblast v zadaných hranicích.

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

Parametry

clipBounds
Rectangle

A Rectangle , která určuje oblast DataGridView , která se má namalovat.

Výjimky

RowIndex je menší než -1 nebo větší než nebo rovno počtu řádků v ovládacím DataGridView prvku.

-nebo- ColumnIndex je menší než -1 nebo větší než nebo rovno počtu sloupců v ovládacím DataGridView prvku.

Platí pro

Viz také