26 references to Exclude
System.Drawing.Common.Tests (6)
System\Drawing\RegionTests.cs (6)
837
region.
Exclude
(new Rectangle((int)rect.X, (int)rect.Y, (int)rect.Width, (int)rect.Height));
903
AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.
Exclude
(default(Rectangle)));
1304
infiniteExclude.
Exclude
(new Rectangle(387, 292, 189, 133));
1305
infiniteExclude.
Exclude
(new Rectangle(387, 66, 189, 133));
1356
infiniteExclude.
Exclude
(new Rectangle(387, 292, 189, 133));
1357
infiniteExclude.
Exclude
(new Rectangle(387, 66, 189, 133));
System.Windows.Forms (2)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1223
region.
Exclude
(_lastClipRect.Value);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.FeedbackRectangle.FeedbackDropDown.cs (1)
31
region.
Exclude
(bounds);
System.Windows.Forms.Design (18)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
801
invalidRegion.
Exclude
(newImageRect);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (3)
388
newRegion.
Exclude
(Rectangle.Inflate(borderRect, -BorderSize, -BorderSize));
854
newRegion.
Exclude
(Rectangle.Inflate(newBorderRect, -BorderSize, -BorderSize));
863
oldRegion.
Exclude
(Rectangle.Inflate(oldBorderRect, -BorderSize, -BorderSize));
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
333
invalidRegion.
Exclude
(newRectangle);
System\Windows\Forms\Design\ControlDesigner.cs (1)
2124
nonClient.
Exclude
(clientAreaScreenBounds);
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
1791
newRegion.
Exclude
(Rectangle.Inflate(frameRect, -frameWidth, -frameWidth));
1983
newRegion.
Exclude
(Rectangle.Inflate(frameRect, -frameWidth, -frameWidth));
1999
oldRegion.
Exclude
(Rectangle.Inflate(oldFrameRect, -frameWidth, -frameWidth));
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (1)
334
_region.
Exclude
(_innerRect);
System\Windows\Forms\Design\TabOrder.cs (1)
209
_region.
Exclude
(ctlInner);
System\Windows\Forms\Design\ToolStripDesignerUtils.cs (3)
464
invalidateRegion.
Exclude
(invalidateBounds);
470
itemRegion.
Exclude
(invalidateBounds);
500
invalidateRegion.
Exclude
(invalidateBounds);
System\Windows\Forms\Design\ToolStripItemBehavior.cs (1)
86
rgn.
Exclude
(bounds);
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (2)
1184
invalidatingRegion.
Exclude
(dropDown.Bounds);
1921
regionToInvalidate.
Exclude
(MenuItem.DropDown.Bounds);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
841
rgn.
Exclude
(invalidateBounds);