Assembly: System.Windows.Forms (in system.windows.forms.dll)
protected virtual void PaintBackground ( Graphics graphics, Rectangle clipBounds, Rectangle gridBounds )
protected void PaintBackground ( Graphics graphics, Rectangle clipBounds, Rectangle gridBounds )
protected function PaintBackground ( graphics : Graphics, clipBounds : Rectangle, gridBounds : Rectangle )
The Graphics used to paint the background.
A Rectangle that represents the area in which cells are drawn.
The clipBounds parameter represents the area of the DataGridView that needs to be repainted. For example, if a user covers the entire DataGridView with another window and then uncovers it, then clipBounds represents the entire DataGridView. If a user covers a small area of the DataGridView and then uncovers it, then clipBounds represents the small area that was covered.
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.