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