130 references to DataGridViewPaintParts
System.Windows.Forms (130)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (4)
241
DataGridViewPaintParts
.ContentForeground,
299
DataGridViewPaintParts
.ContentForeground,
660
DataGridViewPaintParts
paintParts)
699
DataGridViewPaintParts
paintParts,
winforms\Managed\System\WinForms\DataGridViewCell.cs (17)
3500
DataGridViewPaintParts
paintParts)
3514
DataGridViewPaintParts
paintParts)
3529
internal static bool PaintBackground(
DataGridViewPaintParts
paintParts)
3531
return (paintParts &
DataGridViewPaintParts
.Background) != 0;
3534
internal static bool PaintBorder(
DataGridViewPaintParts
paintParts)
3536
return (paintParts &
DataGridViewPaintParts
.Border) != 0;
4287
internal static bool PaintContentBackground(
DataGridViewPaintParts
paintParts)
4289
return (paintParts &
DataGridViewPaintParts
.ContentBackground) != 0;
4292
internal static bool PaintContentForeground(
DataGridViewPaintParts
paintParts)
4294
return (paintParts &
DataGridViewPaintParts
.ContentForeground) != 0;
4337
internal static bool PaintErrorIcon(
DataGridViewPaintParts
paintParts)
4339
return (paintParts &
DataGridViewPaintParts
.ErrorIcon) != 0;
4342
internal static bool PaintFocus(
DataGridViewPaintParts
paintParts)
4344
return (paintParts &
DataGridViewPaintParts
.Focus) != 0;
4381
internal static bool PaintSelectionBackground(
DataGridViewPaintParts
paintParts)
4383
return (paintParts &
DataGridViewPaintParts
.SelectionBackground) != 0;
4393
DataGridViewPaintParts
paintParts)
winforms\Managed\System\WinForms\DataGridViewCellPaintingEventArgs.cs (13)
28
private
DataGridViewPaintParts
paintParts;
43
DataGridViewPaintParts
paintParts)
57
if ((paintParts & ~
DataGridViewPaintParts
.All) != 0)
154
public
DataGridViewPaintParts
PaintParts
190
public void Paint(Rectangle clipBounds,
DataGridViewPaintParts
paintParts)
224
DataGridViewPaintParts
paintParts =
DataGridViewPaintParts
.Background |
DataGridViewPaintParts
.Border;
227
paintParts |=
DataGridViewPaintParts
.SelectionBackground;
263
DataGridViewPaintParts
.ContentBackground |
DataGridViewPaintParts
.ContentForeground |
DataGridViewPaintParts
.ErrorIcon);
277
DataGridViewPaintParts
paintParts)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (4)
560
DataGridViewPaintParts
.ContentForeground,
628
DataGridViewPaintParts
.ContentForeground,
1113
DataGridViewPaintParts
paintParts)
1152
DataGridViewPaintParts
paintParts,
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (3)
267
DataGridViewPaintParts
.ContentForeground,
748
DataGridViewPaintParts
paintParts)
780
DataGridViewPaintParts
paintParts,
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (5)
989
DataGridViewPaintParts
.ContentForeground,
1097
DataGridViewPaintParts
.ContentForeground,
2025
DataGridViewPaintParts
.ContentForeground,
2058
DataGridViewPaintParts
paintParts)
2104
DataGridViewPaintParts
paintParts,
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
634
DataGridViewPaintParts
paintParts)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (4)
336
DataGridViewPaintParts
.ContentForeground,
396
DataGridViewPaintParts
.ContentForeground,
759
DataGridViewPaintParts
paintParts)
798
DataGridViewPaintParts
paintParts,
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (4)
580
DataGridViewPaintParts
.ContentForeground,
640
DataGridViewPaintParts
.ContentForeground,
950
DataGridViewPaintParts
paintParts)
990
DataGridViewPaintParts
paintParts,
winforms\Managed\System\WinForms\DataGridViewMethods.cs (18)
19943
DataGridViewPaintParts
.Background |
DataGridViewPaintParts
.Border |
DataGridViewPaintParts
.ContentBackground |
DataGridViewPaintParts
.ContentForeground |
DataGridViewPaintParts
.ErrorIcon |
DataGridViewPaintParts
.SelectionBackground);
20016
DataGridViewPaintParts
.Background |
DataGridViewPaintParts
.Border |
DataGridViewPaintParts
.ContentBackground |
DataGridViewPaintParts
.ContentForeground |
DataGridViewPaintParts
.ErrorIcon |
DataGridViewPaintParts
.SelectionBackground);
20238
DataGridViewPaintParts
.Background |
DataGridViewPaintParts
.Border |
DataGridViewPaintParts
.ContentBackground |
DataGridViewPaintParts
.ContentForeground |
DataGridViewPaintParts
.ErrorIcon |
DataGridViewPaintParts
.SelectionBackground);
winforms\Managed\System\WinForms\DataGridViewRow.cs (8)
1544
DataGridViewPaintParts
paintParts = dgvrprepe.PaintParts;
1593
DataGridViewPaintParts
paintParts)
1599
if ((int) paintParts < (int)
DataGridViewPaintParts
.None || (int) paintParts > (int)
DataGridViewPaintParts
.All)
1781
DataGridViewPaintParts
paintParts)
1790
if ((int) paintParts < (int)
DataGridViewPaintParts
.None || (int) paintParts > (int)
DataGridViewPaintParts
.All)
1792
throw new InvalidEnumArgumentException("paintParts", (int)paintParts, typeof(
DataGridViewPaintParts
));
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (4)
338
DataGridViewPaintParts
.ContentForeground,
397
DataGridViewPaintParts
.ContentForeground,
720
DataGridViewPaintParts
paintParts)
760
DataGridViewPaintParts
paintParts,
winforms\Managed\System\WinForms\DataGridViewRowPostPaintEventArgs.cs (16)
172
public void PaintCells(Rectangle clipBounds,
DataGridViewPaintParts
paintParts)
195
DataGridViewPaintParts
paintParts =
DataGridViewPaintParts
.Background |
DataGridViewPaintParts
.Border;
198
paintParts |=
DataGridViewPaintParts
.SelectionBackground;
224
DataGridViewPaintParts
.ContentBackground |
DataGridViewPaintParts
.ContentForeground |
DataGridViewPaintParts
.ErrorIcon);
230
DataGridViewPaintParts
paintParts =
DataGridViewPaintParts
.Background |
DataGridViewPaintParts
.Border |
DataGridViewPaintParts
.ContentBackground |
DataGridViewPaintParts
.ContentForeground |
DataGridViewPaintParts
.ErrorIcon;
233
paintParts |=
DataGridViewPaintParts
.SelectionBackground;
239
public void PaintHeader(
DataGridViewPaintParts
paintParts)
winforms\Managed\System\WinForms\DataGridViewRowPrePaintEventArgs.cs (21)
27
private
DataGridViewPaintParts
paintParts;
63
this.paintParts =
DataGridViewPaintParts
.All;
131
public
DataGridViewPaintParts
PaintParts
139
if ((value & ~
DataGridViewPaintParts
.All) != 0)
191
public void PaintCells(Rectangle clipBounds,
DataGridViewPaintParts
paintParts)
214
DataGridViewPaintParts
paintParts =
DataGridViewPaintParts
.Background |
DataGridViewPaintParts
.Border;
217
paintParts |=
DataGridViewPaintParts
.SelectionBackground;
243
DataGridViewPaintParts
.ContentBackground |
DataGridViewPaintParts
.ContentForeground |
DataGridViewPaintParts
.ErrorIcon);
249
DataGridViewPaintParts
paintParts =
DataGridViewPaintParts
.Background |
DataGridViewPaintParts
.Border |
DataGridViewPaintParts
.ContentBackground |
DataGridViewPaintParts
.ContentForeground |
DataGridViewPaintParts
.ErrorIcon;
252
paintParts |=
DataGridViewPaintParts
.SelectionBackground;
258
public void PaintHeader(
DataGridViewPaintParts
paintParts)
296
this.paintParts =
DataGridViewPaintParts
.All;
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (4)
338
DataGridViewPaintParts
.ContentForeground,
395
DataGridViewPaintParts
.ContentForeground,
633
DataGridViewPaintParts
paintParts)
672
DataGridViewPaintParts
paintParts,
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (4)
80
DataGridViewPaintParts
.ContentForeground,
138
DataGridViewPaintParts
.ContentForeground,
216
DataGridViewPaintParts
paintParts)
255
DataGridViewPaintParts
paintParts,