18 references to PaintBackground
System.Windows.Forms (18)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
736
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && backBrush.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1219
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (2)
821
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && backgroundBounds.Width > 0 && backgroundBounds.Height > 0)
891
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && backgroundBounds.Width > 0 && backgroundBounds.Height > 0)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (4)
2169
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255 && valBounds.Width > 0 && valBounds.Height > 0)
2192
if (paintPostXPThemes && DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255)
2208
DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255 && valBounds.Width > 2 && valBounds.Height > 2)
2213
else if (DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
646
if (DataGridViewCell.
PaintBackground
(paintParts))
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (4)
871
if (DataGridViewCell.
PaintBackground
(paintParts))
903
if (DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255)
927
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255)
936
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1021
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (2)
811
if (paint && DataGridViewCell.
PaintBackground
(paintParts))
867
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
717
if (paint && DataGridViewCell.
PaintBackground
(paintParts) && br.Color.A == 255 && valBounds.Width > 0 && valBounds.Height > 0)
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
282
if (paint && DataGridViewCell.
PaintBackground
(paintParts))