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