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