DataGridViewRowPrePaintEventArgs.PaintCells Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vykreslí zadané části buňky pro oblast v zadaných mezích.
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)
Parametry
- clipBounds
- Rectangle
A Rectangle , která určuje oblast DataGridView , která se má malovat.
- paintParts
- DataGridViewPaintParts
Bitová kombinace DataGridViewPaintParts hodnot určujících části, které se mají malovat.
Výjimky
RowIndex je menší než nula nebo větší než počet řádků v ovládacím DataGridView prvku minus jeden.