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