186 references to FillRectangle
System.Windows.Forms (145)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
148g.FillRectangle(brush, bounds); 693e.Graphics.FillRectangle(background, bounds);
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (1)
118e.Graphics.FillRectangle(brush, bounds);
winforms\Managed\System\WinForms\CheckedListBox.cs (2)
763e.Graphics.FillRectangle(b, textBounds); 866e.Graphics.FillRectangle(brush, emptyRectangle);
winforms\Managed\System\WinForms\ComboBox.cs (2)
5985g.FillRectangle(b, whiteFillRect); 6061g.FillRectangle(SystemBrushes.Control, dropDownRect);
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (1)
57g.FillRectangle(SystemBrushes.Window, fillRect);
winforms\Managed\System\WinForms\Control.cs (3)
9662e.Graphics.FillRectangle(brush, rectangle); 9746e.Graphics.FillRectangle(Brushes.White, rectangle); 9834g.FillRectangle(SystemBrushes.Control, rectangle);
winforms\Managed\System\WinForms\ControlPaint.cs (6)
469g.FillRectangle(textureBrush, clipRect); 490g.FillRectangle(brush, clipRect); 1264graphics.FillRectangle(background, offsetRectangle); 1437graphics.FillRectangle(brush, fillRect); 1487graphics.FillRectangle(gridBrush, area); 1881graphics.FillRectangle(frameBrush, outsideRect);
winforms\Managed\System\WinForms\DataGrid.cs (8)
4418g.FillRectangle(SystemBrushes.AppWorkspace, layout.ParentRows); 4434g.FillRectangle(DefaultHeaderBackBrush, layout.ResizeBoxRect); 7196g.FillRectangle(headerBrush, textBounds); 7249g.FillRectangle(headerBrush, triBounds); 7279g.FillRectangle(backgroundBrush, textBounds); 7339g.FillRectangle(this.HeaderBackBrush, layout.TopLeftHeader); 7341g.FillRectangle(this.myGridTable.HeaderBackBrush, layout.TopLeftHeader); 7353g.FillRectangle(backgroundBrush, rc);
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (2)
396g.FillRectangle(selectionBrush, bounds); 399g.FillRectangle(backBrush, bounds);
winforms\Managed\System\WinForms\DataGridCaption.cs (6)
504g.FillRectangle(backBrush, bounds); 570g.FillRectangle(this.backBrush, border); 573g.FillRectangle(this.backBrush, border); 577g.FillRectangle(this.backBrush, border); 580g.FillRectangle(this.backBrush, border); 584g.FillRectangle(this.backBrush, textBounds);
winforms\Managed\System\WinForms\DataGridParentRows.cs (10)
556g.FillRectangle(borderBrush, border); 560g.FillRectangle(borderBrush, border); 565g.FillRectangle(borderBrush, border); 569g.FillRectangle(borderBrush, border); 710g.FillRectangle(BackBrush, layout.leftArrow); 734g.FillRectangle(BackBrush, layout.rightArrow); 778g.FillRectangle(BackBrush, bmpRect); 900g.FillRectangle(BackBrush, paintBounds); 973g.FillRectangle(BackBrush, paintBounds); 997g.FillRectangle(BackBrush, textBounds);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (2)
723g.FillRectangle(GetBackBrush(), textBounds); 755g.FillRectangle(backBr, bounds);
winforms\Managed\System\WinForms\DataGridRow.cs (3)
449g.FillRectangle(this.dgTable.IsDefault ? this.DataGrid.GridLineBrush : this.dgTable.GridLineBrush, bottomBorder); 544g.FillRectangle(backBr, cellBounds); 565g.FillRectangle(backBrush, visualBounds);
winforms\Managed\System\WinForms\DataGridTextBoxColumn.cs (1)
612g.FillRectangle(backBrush, rect);
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
738g.FillRectangle(backBrush, valBounds);
winforms\Managed\System\WinForms\DataGridViewCell.cs (6)
4357graphics.FillRectangle(br, rectPadding); 4360graphics.FillRectangle(br, rectPadding); 4366graphics.FillRectangle(br, rectPadding); 4369graphics.FillRectangle(br, rectPadding); 4375graphics.FillRectangle(br, rectPadding); 4378graphics.FillRectangle(br, rectPadding);
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1221g.FillRectangle(br, valBounds); 1412g.FillRectangle(highBrush, checkBounds);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
897g.FillRectangle(br, backgroundBounds);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (2)
2283g.FillRectangle(SystemBrushes.Control, dropRect); 2314g.FillRectangle(SystemBrushes.Control, dropRect);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
659graphics.FillRectangle(br, valBounds);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (3)
905g.FillRectangle(br, valBounds); 929g.FillRectangle(br, valBounds); 938g.FillRectangle(br, valBounds);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1023g.FillRectangle(br, valBounds);
winforms\Managed\System\WinForms\DataGridViewMethods.cs (4)
5733g.FillRectangle(GetCachedBrush(SystemColors.HotTrack), rectInsertionBar); 17148g.FillRectangle(SystemBrushes.Control, this.layout.ResizeBoxRect); 19786graphics.FillRectangle(this.backgroundBrush, rcBelowRows); 19824graphics.FillRectangle(this.backgroundBrush, rcNextRows);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
869graphics.FillRectangle(br, valBounds);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
719graphics.FillRectangle(br, valBounds);
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
308graphics.FillRectangle(br, valBounds);
winforms\Managed\System\WinForms\DrawItemEvent.cs (1)
187Graphics.FillRectangle(backBrush, rect);
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (1)
159graphics.FillRectangle(backBrush, bounds);
winforms\Managed\System\WinForms\DrawListViewItemEventArgs.cs (1)
127Graphics.FillRectangle(backBrush, bounds);
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (1)
173Graphics.FillRectangle(backBrush, bounds);
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (1)
130Graphics.FillRectangle(backBrush, bounds);
winforms\Managed\System\WinForms\Form.cs (1)
5075e.Graphics.FillRectangle(SystemBrushes.AppWorkspace, ClientRectangle);
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (3)
542pevent.Graphics.FillRectangle(backBrush, ClientRectangle); 627pevent.Graphics.FillRectangle(backBrush, ClientRectangle); 638pevent.Graphics.FillRectangle(brush, box);
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
3297pevent.Graphics.FillRectangle(background, new Rectangle(0,0,width, psheetLoc.Y)); 3303pevent.Graphics.FillRectangle(background, new Rectangle(0, yLast, width, hotcommands.Location.Y - yLast)); 3309pevent.Graphics.FillRectangle(background, new Rectangle(0, yLast, width, doccomment.Location.Y - yLast)); 3314pevent.Graphics.FillRectangle(background, new Rectangle(0, yLast, width, Size.Height - yLast));
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (1)
99pevent.Graphics.FillRectangle(SystemBrushes.Window, dropDownButtonRect);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (3)
2021g.FillRectangle(b, outline); 2052g.FillRectangle(b, outline); 2136g.FillRectangle(blank, clipRect);
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (2)
2610g.FillRectangle(backgroundBrush, clearRect); 3561g.FillRectangle(backgroundBrush, clearRect);
winforms\Managed\System\WinForms\SplitContainer.cs (3)
1217g.FillRectangle(brush, SplitterRectangle); 1710g.FillRectangle(textureBrush, ClientRectangle); 1715g.FillRectangle(solidBrush, splitterRect);
winforms\Managed\System\WinForms\TextBoxRenderer.cs (1)
54g.FillRectangle(brush, fillRect);
winforms\Managed\System\WinForms\ToolStripComboBox.cs (5)
692g.FillRectangle(SystemBrushes.Control, dropDownRect); 703g.FillRectangle(b, dropDownRect); 708g.FillRectangle(b, dropDownRect); 713g.FillRectangle(b, dropDownRect); 719g.FillRectangle(b, dropDownRect);
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (9)
149 g.FillRectangle(SystemBrushes.Highlight, bounds); 237 g.FillRectangle(SystemBrushes.Control, e.ConnectedArea); 279 g.FillRectangle(SystemBrushes.ButtonShadow, new Rectangle(1, 1, 1, 1)); 283 g.FillRectangle(SystemBrushes.ButtonShadow, new Rectangle(bounds.Width - 2, 1, 1, 1)); 288 g.FillRectangle(SystemBrushes.ButtonShadow, new Rectangle(1, bounds.Height - 2, 1, 1)); 295 g.FillRectangle(SystemBrushes.ButtonShadow, new Rectangle(bounds.Width - 2, bounds.Height - 2, 1, 1)); 396g.FillRectangle(SystemBrushes.Highlight, bounds); 424 g.FillRectangle(SystemBrushes.Highlight, bounds); 431 g.FillRectangle(SystemBrushes.Highlight, bounds);
winforms\Managed\System\WinForms\ToolStripProfessionalLowResolutionRenderer.cs (4)
65g.FillRectangle(SystemBrushes.ButtonShadow, new Rectangle(1, 1, 1, 1)); 69g.FillRectangle(SystemBrushes.ButtonShadow, new Rectangle(bounds.Width - 2, 1, 1, 1)); 74g.FillRectangle(SystemBrushes.ButtonShadow, new Rectangle(1, bounds.Height - 2, 1, 1)); 81g.FillRectangle(SystemBrushes.ButtonShadow, new Rectangle(bounds.Width - 2, bounds.Height - 2, 1, 1));
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (26)
276g.FillRectangle(b, item.SplitterBounds); 517g.FillRectangle(b, bounds); 534g.FillRectangle(b, fillRect); 559g.FillRectangle(b, bounds); 577g.FillRectangle(b, fillRect); 866g.FillRectangle(b, bounds); 871g.FillRectangle(b, beginGradient); 885g.FillRectangle(b, endGradient); 891g.FillRectangle(b, bounds); 917g.FillRectangle(b, bounds); 942g.FillRectangle(b, bounds); 987g.FillRectangle(b, new Rectangle(Point.Empty, control.Size)); 996g.FillRectangle(b, gradientBounds); 1003g.FillRectangle(b, new Rectangle(Point.Empty, control.Size)); 1027e.Graphics.FillRectangle(b, bounds); 1045g.FillRectangle(b, e.ConnectedArea); 1144g.FillRectangle(b, fillRect); 1207g.FillRectangle(b, new Rectangle(gradientCopyPixel, onePix)); 1213g.FillRectangle(b, otherBottom); 1225g.FillRectangle(b, bounds); 1231g.FillRectangle(b, bounds); 1242g.FillRectangle(b, bounds); 1250g.FillRectangle(b, bounds); 1356g.FillRectangle(b, bounds); 1363g.FillRectangle(b, bounds); 1390g.FillRectangle(b, bounds);
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (3)
70g.FillRectangle(SystemBrushes.FromSystemColor(backColor), bounds); 74g.FillRectangle(backBrush, bounds); 404g.FillRectangle(SystemBrushes.Highlight, fillRect);
winforms\Managed\System\WinForms\TreeView.cs (2)
2843 g.FillRectangle(SystemBrushes.Highlight, bounds); 2853g.FillRectangle(brush, bounds);
System.Windows.Forms.DataVisualization (4)
WinForm\ChartWinControl.cs (4)
2165g.FillRectangle(b, topBorder); 2168g.FillRectangle(b, rightBorder); 2171g.FillRectangle(b, bottomBorder); 2174g.FillRectangle(b, leftBorder);
System.Workflow.Activities (4)
Designers\StateDesigner.CommentLayoutGlyph.cs (2)
60graphics.FillRectangle(StateMachineDesignerPaint.FadeBrush, bounds); 61graphics.FillRectangle(ambientTheme.CommentIndicatorBrush, bounds);
Designers\StateDesigner.Layouts.cs (2)
996graphics.FillRectangle(backgroundBrush, rectangle); 1024graphics.FillRectangle(linearGradientBrush, rectangle);
System.Workflow.ComponentModel (33)
AuthoringOM\Design\ActivityDesigner.cs (2)
3080graphics.FillRectangle(WorkflowTheme.CurrentTheme.AmbientTheme.BackgroundBrush, activatedBounds); 3082graphics.FillRectangle(transparentSelectionBrush, activatedBounds);
AuthoringOM\Design\DesignerHelpers.cs (6)
262graphics.FillRectangle(Brushes.White, grabHandle); 272graphics.FillRectangle(Brushes.White, grabHandle); 301graphics.FillRectangle(backgroundBrush, bounds); 339graphics.FillRectangle(ambientTheme.MajorGridBrush, new Rectangle(new Point(gridCoOrdX, gridCoOrdY), new Size(1, 1))); 343graphics.FillRectangle(ambientTheme.MinorGridBrush, new Rectangle(new Point(gridCoOrdX + ambientTheme.GridSize.Width / 2, gridCoOrdY + ambientTheme.GridSize.Height / 2), new Size(1, 1))); 377graphics.FillRectangle(compositeDesignerTheme.GetExpandButtonBackgroundBrush(boundingRect), boundingRect);
AuthoringOM\Design\DesignerWidgets.cs (8)
171graphics.FillRectangle(SelectionBrush, buttonBounds); 1225graphics.FillRectangle(SystemBrushes.Window, this.formRectangle); 1230graphics.FillRectangle(gradientBrush, this.leftGradientRectangle); 1899e.Graphics.FillRectangle(backgroundBrush, tabItemRectangle); 1908e.Graphics.FillRectangle(backgroundBrush, tabItemRectangle); 1936graphics.FillRectangle(backgroundBrush, new Rectangle(0, 0, bitmap.Width, bitmap.Height)); 3419graphics.FillRectangle(designerTheme.PreviewBackgroundBrush, this.canvasBounds); 3437graphics.FillRectangle(designerTheme.PreviewBackgroundBrush, canvasRect);
AuthoringOM\Design\Glyphs\CommentGlyph.cs (2)
51graphics.FillRectangle(AmbientTheme.FadeBrush, bounds); 52graphics.FillRectangle(ambientTheme.CommentIndicatorBrush, bounds);
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (1)
83graphics.FillRectangle(SystemBrushes.ButtonFace, activatedBounds);
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
685draggedImageGraphics.FillRectangle(backgroundBrush, new Rectangle(0, 0, draggedImage.Width, draggedImage.Height));
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
388e.Graphics.FillRectangle(linearGradientBrush, rectangle); 475e.Graphics.FillRectangle(linearGradientBrush, rectangle);
AuthoringOM\Design\Themes.cs (1)
3331e.Graphics.FillRectangle(fillBrush, e.Bounds);
AuthoringOM\Design\WorkflowLayouts.cs (6)
143graphics.FillRectangle(AmbientTheme.WorkspaceBackgroundBrush, workspaceRectangle); 175graphics.FillRectangle(Brushes.White, this.parentView.RootDesigner.Bounds); 262graphics.FillRectangle(WorkflowTheme.CurrentTheme.AmbientTheme.BackgroundBrush, rootBounds); 523graphics.FillRectangle(Brushes.White, new Rectangle(Point.Empty, memoryBitmap.Size)); 597graphics.FillRectangle(AmbientTheme.WorkspaceBackgroundBrush, workspaceRectangle); 647graphics.FillRectangle(Brushes.White, pageLayoutData.PageBounds);
AuthoringOM\Design\WorkflowPrinting.cs (1)
133graphics.FillRectangle(ambientTheme.BackgroundBrush, boundingRectangle);
AuthoringOM\Design\WorkflowView.cs (3)
1082e.Graphics.FillRectangle(SystemBrushes.Control, new Rectangle(Width - SystemInformation.VerticalScrollBarWidth, Height - SystemInformation.HorizontalScrollBarHeight, SystemInformation.VerticalScrollBarWidth, SystemInformation.HorizontalScrollBarHeight)); 1604viewPortGraphics.FillRectangle(ambientTheme.BackgroundBrush, workflowView.RootDesigner.Bounds); 1660viewPortGraphics.FillRectangle(shadowDepthBrush, new Rectangle(Point.Empty, new Size(memoryBitmap.Size.Width - viewPortData.ShadowDepth.Width - 1, memoryBitmap.Size.Height - viewPortData.ShadowDepth.Height - 1)));