7 references to Truncate
System.Windows.Forms (7)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
1098
DataGridViewButtonRenderer.DrawBackground(g, bounds, Rectangle.
Truncate
(g.ClipBounds));
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1796
CheckBoxRenderer.DrawBackground(g, bounds, Rectangle.
Truncate
(g.ClipBounds));
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
1247
Rectangle rectClip = Rectangle.
Truncate
(g.ClipBounds);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
911
g.SetClip(Rectangle.Intersect(Rectangle.Intersect(imgBounds2, imgBounds), Rectangle.
Truncate
(g.VisibleClipBounds)));
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
1195
VisualStyleRenderer.DrawBackground(g, bounds, Rectangle.
Truncate
(g.ClipBounds));
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
463
VisualStyleRenderer.DrawBackground(g, bounds, Rectangle.
Truncate
(g.ClipBounds));
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
1156
Rectangle displayRect = Rectangle.
Truncate
(displayRectF);