91 references to Invalidate
System.Windows.Forms (72)
System\Windows\Forms\Control.cs (1)
8020
Invalidate
(cliprect);
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (6)
932
Invalidate
(DownChangeRectangle);
940
Invalidate
(DownChangeRectangle);
959
Invalidate
(DownChangeRectangle);
982
Invalidate
(DownChangeRectangle);
1192
Invalidate
(DownChangeRectangle);
1390
Invalidate
(DownChangeRectangle);
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (5)
3817
Invalidate
(Rectangle.Union(_layout.Data, _layout.ColumnHeaders));
3818
Invalidate
(_layout.TopLeftHeader);
3870
Invalidate
(_layout.Data);
3950
Invalidate
(_layout.RowHeaders);
4072
Invalidate
(new Rectangle(_layout.Inside.X, _layout.Inside.Y, RowHeadersWidth, ColumnHeadersHeight));
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (44)
2445
Invalidate
(CalcRowResizeFeedbackRect(_currentRowSplitBar));
2491
Invalidate
(_layout.ColumnHeaders);
2500
Invalidate
(CalcColResizeFeedbackRect(_currentColSplitBar));
2761
Invalidate
(CalcColResizeFeedbackRect(_currentColSplitBar));
2784
Invalidate
(CalcRowResizeFeedbackRect(_currentRowSplitBar));
4492
Invalidate
(_layout.ResizeBoxRect);
4717
Invalidate
(_layout.ColumnHeaders);
6068
Invalidate
(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders));
9794
Invalidate
(cellDisplayRect);
9819
Invalidate
(columnDisplayRect);
9828
Invalidate
(_layout.Data);
9839
Invalidate
(_layout.Inside);
9863
Invalidate
(rowDisplayRect);
10015
Invalidate
(new Rectangle(data.X, top, data.Width, bottom - top));
10441
Invalidate
(lastSplitBarRect);
10442
Invalidate
(CalcRowResizeFeedbackRect(_currentRowSplitBar));
10489
Invalidate
(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders));
10509
Invalidate
(lastSplitBarRect);
10510
Invalidate
(CalcColResizeFeedbackRect(_currentColSplitBar));
13447
Invalidate
(Rectangle.Union(_layout.ColumnHeaders, _layout.Data));
13910
Invalidate
(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders));
14513
Invalidate
(rightArea);
16824
Invalidate
(edge);
16828
Invalidate
(edge);
16833
Invalidate
(edge);
16837
Invalidate
(edge);
17461
Invalidate
(right);
17466
Invalidate
(right);
17471
Invalidate
(bottom);
17476
Invalidate
(bottom);
17486
Invalidate
(right);
17492
Invalidate
(bottom);
17500
Invalidate
(_layout.ResizeBoxRect);
18184
Invalidate
(Rectangle.Union(_layout.TopLeftHeader, _layout.RowHeaders));
18812
Invalidate
(new Rectangle(new Point(-pt.X, ColumnHeadersHeight), new Size(-step, ClientSize.Height)));
18822
Invalidate
(new Rectangle(new Point(ClientSize.Width - (pt.X - rect.Right) - step, ColumnHeadersHeight),
18829
Invalidate
(new Rectangle(new Point(0, -pt.Y),
18836
Invalidate
(new Rectangle(new Point(0, ColumnHeadersHeight),
25863
Invalidate
(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders));
26372
Invalidate
(rowsRect);
28955
Invalidate
(_layout.RowHeaders);
28960
Invalidate
(Rectangle.Union(rectUpper, rectLower));
29024
Invalidate
(bottomArea);
29092
Invalidate
(bottomArea);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1331
DataGridView.
Invalidate
(rectBottomSection);
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5083
Invalidate
(rectInvalid);
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (2)
2830
Invalidate
(new Rectangle(0, me.Y - s_cyDivider, Size.Width, me.Y + s_cyDivider));
2833
_gridView.
Invalidate
(new Rectangle(0, _gridView.Size.Height - s_cyDivider, Size.Width, s_cyDivider));
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\HelpPane.cs (1)
124
Invalidate
(new Rectangle(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (6)
2031
Invalidate
(rect);
2038
Invalidate
(rect);
2145
Invalidate
(new Rectangle(left, 0, Size.Width - left, Size.Height));
2152
Invalidate
(r);
3623
Invalidate
(rectInvalidate);
3629
Invalidate
(rectInvalidate);
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
1857
Invalidate
(invalidate);
2579
Invalidate
(item.Bounds);
3852
Invalidate
(insertionRect);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDown.cs (1)
1764
toolStrip.
Invalidate
(bounds);
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
896
Invalidate
(InsideRectangle);
System.Windows.Forms.Design (13)
System\Drawing\Design\ColorEditor.ColorPalette.cs (2)
209
Invalidate
(Rectangle.Inflate(r, 5, 5));
220
Invalidate
(Rectangle.Inflate(r, 5, 5));
System\Windows\Forms\Design\Behavior\BehaviorService.cs (1)
421
_adornerWindow.
Invalidate
(paintRect);
System\Windows\Forms\Design\Behavior\DesignerActionGlyph.cs (1)
114
_alternativeParent.
Invalidate
(_bounds);
System\Windows\Forms\Design\ComponentTray.cs (1)
202
Invalidate
(bounds);
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
917
_selectedColumns.
Invalidate
(bounds);
System\Windows\Forms\Design\DesignerFrame.cs (1)
469
overlayControl.
Invalidate
(invalidateRect);
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (1)
369
_selUIsvc.
Invalidate
(_outerRect);
System\Windows\Forms\Design\TabOrder.cs (1)
751
Invalidate
(rc);
System\Windows\Forms\Design\ToolStripAdornerWindowService.cs (1)
151
_toolStripAdornerWindow.
Invalidate
(paintRect);
System\Windows\Forms\Design\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (3)
991
Invalidate
(ImageRect);
997
Invalidate
(ImageRect);
1007
Invalidate
(ImageRect);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ControlTests.Methods.cs (6)
3219
control.
Invalidate
(rc);
3223
control.
Invalidate
(rc);
3263
control.
Invalidate
(rc);
3270
control.
Invalidate
(rc);
3310
control.
Invalidate
(rc);
3321
control.
Invalidate
(rc);