33 references to FillRectangle
System.Drawing.Common.Tests (3)
mono\System.Drawing\GraphicsTests.cs (1)
871g.FillRectangle(brush, 5, 5, -10, -10);
System\Drawing\Imaging\ImageAttributesTests.cs (2)
133graphicsSmallBitmap.FillRectangle(Brushes.White, 0, 0, 100, 100); 135graphicsBigBitmap.FillRectangle(Brushes.White, 0, 0, 200, 100);
System.Windows.Forms (28)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
3162graphics.FillRectangle( 3197graphics.FillRectangle(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
1955g.FillRectangle(brush!, valBounds.Left, valBounds.Top, valBounds.Width, valBounds.Height); 1973g.FillRectangle(brush!, valBounds.Left + 1, valBounds.Top + 1, valBounds.Width - 2, valBounds.Height - 2); 1984g.FillRectangle(brush!, valBounds.Left, valBounds.Top, valBounds.Width, valBounds.Height);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (4)
1543g.FillRectangle(backBrush, borderWidth - 1, rect.Y, totalWidth - borderWidth + 3, rect.Height); 1555g.FillRectangle(backBrush, rect.X, rect.Y, rect.Width, rect.Height); 1560g.FillRectangle(stripeBrush, rect.X, rect.Y, borderWidth, rect.Height); 1565g.FillRectangle(
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (9)
933g.FillRectangle(brush, toolStrip.Width - 1, toolStrip.Height - 2, 1, 1); 934g.FillRectangle(brush, toolStrip.Width - 2, toolStrip.Height - 1, 1, 1); 939g.FillRectangle(brush, toolStrip.Width - 2, 0, 1, 1); 940g.FillRectangle(brush, toolStrip.Width - 1, 1, 1, 1); 1307g.FillRectangle(brush, top1.X, top1.Y, 1, 1); 1308g.FillRectangle(brush, top2.X, top2.Y, 1, 1); 1312g.FillRectangle(brush, overflowBoundsFill.Width - 3, overflowBoundsFill.Top - 1, 1, 1); 1313g.FillRectangle(brush, overflowBoundsFill.Width - 2, overflowBoundsFill.Top - 2, 1, 1); 1331g.FillRectangle(brush, overflowBoundsFill.X, overflowBoundsFill.Top - 1, 1, 1);
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemDarkModeRenderer.cs (4)
536g.FillRectangle(darkColorBrush, bounds.Left + 2, y, 1, 1); 537g.FillRectangle(lightColorBrush, bounds.Left + 3, y + 1, 1, 1); 549g.FillRectangle(darkColorBrush, x, bounds.Top + 2, 1, 1); 550g.FillRectangle(lightColorBrush, x + 1, bounds.Top + 3, 1, 1);
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.ToolStripTextBoxControl.cs (4)
258g.FillRectangle(brush, 0, 0, Width, clientRect.Top); // top border 259g.FillRectangle(brush, 0, 0, clientRect.Left, Height); // left border 260g.FillRectangle(brush, 0, clientRect.Bottom, Width, Height - clientRect.Height); // bottom border 261g.FillRectangle(brush, clientRect.Right, 0, Width - clientRect.Right, Height); // right border
System\Windows\Forms\Rendering\ControlPaint.cs (2)
223graphics.FillRectangle(brush, 0, 0, size.Width, size.Height); 1277graphics.FillRectangle(brush, bounds.Left + 1, bounds.Top + 1, bounds.Width - 2, bounds.Height - 2);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.PanelHeaderLine.cs (1)
102g.FillRectangle(b, 1, 1, lineWidth - 2, lineHeight - 1);
System\Windows\Forms\Design\DesignerUtils.cs (1)
122g.FillRectangle(new SolidBrush(SystemColors.InactiveBorder), 0, 0, s_boxImageSize, s_boxImageSize);