52 references to FillRectangle
System.Drawing (1)
commonui\System\Drawing\Graphics.cs (1)
2022FillRectangle(brush, rect.X, rect.Y, rect.Width, rect.Height);
System.Web.DataVisualization (1)
Common\General\ChartGraphics.cs (1)
406 graphics.FillRectangle(backBrush, 0, 0, image.Width, image.Height);
System.Web.Mobile (2)
UI\MobileControls\Design\Util\ImageCreator.cs (2)
117g.FillRectangle(controlBrush, 0, 0, width, barHeight); 134g.FillRectangle(controlDarkBrush, 0, barHeight + 1, width, messageHeight - 1);
System.Windows.Forms (43)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (4)
509g.FillRectangle(brush, r.X, r.Y, size, r.Height); 512g.FillRectangle(brush, (r.X + r.Width - size), r.Y, size, r.Height); 515g.FillRectangle(brush, (r.X + size), r.Y, (r.Width - size * 2), size); 518g.FillRectangle(brush, (r.X + size), (r.Y + r.Height - size), (r.Width - size * 2), size);
winforms\Managed\System\WinForms\ComboBox.cs (2)
3459graphics.FillRectangle(brush, rect.left, rect.top, 3464graphics.FillRectangle(SystemBrushes.Control, rect.left, rect.top,
winforms\Managed\System\WinForms\ControlPaint.cs (2)
224graphics.FillRectangle(brush, 0, 0, size.Width, size.Height); 1194graphics.FillRectangle(brush, bounds.Left + 1, bounds.Top + 1, bounds.Width - 2, bounds.Height - 2);
winforms\Managed\System\WinForms\DataGrid.cs (4)
7303g.FillRectangle(br, bounds.X, bounds.Y, bounds.Width + 2, 2); 7304g.FillRectangle(br, bounds.Right - 2, bounds.Y, 2, bounds.Height + 2); 7305g.FillRectangle(br, bounds.X, bounds.Bottom - 2, bounds.Width + 2, 2); 7306g.FillRectangle(br, bounds.X, bounds.Y, 2, bounds.Height + 2);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (5)
652g.FillRectangle(GetBackBrush(), 668g.FillRectangle(GetBackBrush(), relRect.X, relRect.Y + cy, relRect.Width, relRect.Height - cy); 680g.FillRectangle(DataGrid.BackgroundBrush, 695g.FillRectangle(br, 706g.FillRectangle(GetBackBrush(), bounds.X, bounds.Y, bounds.Width, System.Windows.Forms.DataGridTableStyle.relationshipSpacing);
winforms\Managed\System\WinForms\DataGridRow.cs (3)
453g.FillRectangle(this.dgTable.DataGrid.BackgroundBrush, 516g.FillRectangle(this.dgTable.IsDefault ? this.DataGrid.GridLineBrush : this.dgTable.GridLineBrush, 527g.FillRectangle(this.dgTable.DataGrid.BackgroundBrush,
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
3592graphics.FillRectangle(this.DataGridView.GetCachedBrush(dividerWidthColor), 3630graphics.FillRectangle(this.DataGridView.GetCachedBrush(dividerHeightColor), bounds.X, bounds.Bottom - dividerThickness, bounds.Width, dividerThickness);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
2194g.FillRectangle(br, valBounds.Left, valBounds.Top, valBounds.Width, valBounds.Height); 2210g.FillRectangle(br, valBounds.Left + 1, valBounds.Top + 1, valBounds.Width - 2, valBounds.Height - 2); 2221g.FillRectangle(br, valBounds.Left, valBounds.Top, valBounds.Width, valBounds.Height);
winforms\Managed\System\WinForms\GroupBox.cs (1)
774graphics.FillRectangle(b, rect.left, rect.top,
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (4)
1891g.FillRectangle(blank, borderWidth-1, rect.Y, totalWidth-borderWidth+3, rect.Height); 1907g.FillRectangle(blank, rect.X, rect.Y, rect.Width, rect.Height); 1912g.FillRectangle(stripeBrush, rect.X, rect.Y, borderWidth, rect.Height); 1915g.FillRectangle(gridHost.GetSelectedItemWithFocusBackBrush(g), stringX, rect.Y, rect.Width - stringX - 1, rect.Height);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (9)
815g.FillRectangle(b, toolStrip.Width - 1, toolStrip.Height - 2, 1, 1); 816g.FillRectangle(b, toolStrip.Width - 2, toolStrip.Height - 1, 1, 1); 821g.FillRectangle(b, toolStrip.Width - 2, 0, 1, 1); 822g.FillRectangle(b, toolStrip.Width - 1, 1, 1, 1); 1129g.FillRectangle(b, top1.X, top1.Y, 1, 1); 1130g.FillRectangle(b, top2.X, top2.Y, 1, 1); 1133g.FillRectangle(b, overflowBoundsFill.Width - 3, overflowBoundsFill.Top - 1, 1, 1); 1134g.FillRectangle(b, overflowBoundsFill.Width - 2, overflowBoundsFill.Top - 2, 1, 1); 1147g.FillRectangle(b, overflowBoundsFill.X, overflowBoundsFill.Top - 1, 1, 1);
winforms\Managed\System\WinForms\ToolStripTextBox.cs (4)
873g.FillRectangle(b, 0, 0, this.Width, clientRect.Top); // top border 874g.FillRectangle(b, 0, 0, clientRect.Left, this.Height); // left border 875g.FillRectangle(b, 0, clientRect.Bottom, this.Width, this.Height - clientRect.Height); // bottom border 876g.FillRectangle(b, clientRect.Right, 0, this.Width - clientRect.Right, this.Height); // right border
System.Windows.Forms.DataVisualization (2)
Common\General\ChartGraphics.cs (1)
406 graphics.FillRectangle(backBrush, 0, 0, image.Width, image.Height);
WinForm\ChartWinControl.cs (1)
582 graphics.FillRectangle(Brushes.White, 0, 0, this.Width, this.Height);
System.Workflow.ComponentModel (3)
AuthoringOM\Design\ActivityDesigner.cs (1)
1067graphics.FillRectangle(transparentBrush, 0, 0, designerImage.Width, designerImage.Height);
AuthoringOM\Design\DesignerWidgets.cs (1)
1239graphics.FillRectangle(SystemBrushes.InactiveCaptionText, itemBounds.X, itemBounds.Y, itemBounds.Width - 1, itemBounds.Height - 1);
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
121e.Graphics.FillRectangle(dragRectangleBrush, dragRectangle.X, dragRectangle.Y, dragRectangle.Width - 1, dragRectangle.Height - 1);