20 references to ClipRectangle
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (1)
16668Rectangle clipRect = e.ClipRectangle;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
3266Rectangle clipRect = e.ClipRectangle;
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3506Rectangle clippingRect = e.ClipRectangle;
System\Windows\Forms\Controls\UpDown\UpDownBase.cs (1)
526Rectangle clipBounds = e.ClipRectangle;
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
353Rectangle clipRect = e.ClipRectangle;
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
713if (!e.ClipRectangle.Contains(focusRect) || !Focused || !ShowFocusCues)
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
491Rectangle originalClip = e.ClipRectangle;
System\Windows\Forms\Design\ControlDesigner.cs (1)
1541if (_inheritanceUI is not null && pe.ClipRectangle.IntersectsWith(InheritanceUI.InheritanceGlyphRectangle))
System.Windows.Forms.Tests (12)
System\Windows\Forms\ControlTests.Handlers.cs (2)
4001Assert.Equal(new Rectangle(1, 2, 0, 0), e.ClipRectangle); 4132Assert.Equal(new Rectangle(1, 2, 10, 20), e.ClipRectangle);
System\Windows\Forms\PaintEventArgsTests.cs (1)
27Assert.Equal(clipRect, e.ClipRectangle);
System\Windows\Forms\ScrollableControlTests.cs (2)
1704Assert.Equal(new Rectangle(1, 2, 0, 0), e.ClipRectangle); 1848Assert.Equal(new Rectangle(1, 2, 10, 20), e.ClipRectangle);
System\Windows\Forms\TableLayoutCellPaintEventArgsTests.cs (1)
28Assert.Equal(clipRectangle, e.ClipRectangle);
System\Windows\Forms\TableLayoutPanelTests.cs (2)
1484Assert.Equal(eventArgs.ClipRectangle, e.ClipRectangle);
System\Windows\Forms\TabPageTests.cs (2)
4077Assert.Equal(new Rectangle(1, 2, 0, 0), e.ClipRectangle); 4216Assert.Equal(parent.DisplayRectangle, e.ClipRectangle);
System\Windows\Forms\ToolStripTests.cs (1)
6187Assert.Equal(new Rectangle(0, 0, 30, 25), e.ClipRectangle);
TrackBarTests.cs (1)
3253e.ClipRectangle.Should().Be(rectangle);