26 references to Intersect
System.Drawing (1)
commonui\System\Drawing\Rectangle.cs (1)
426
Rectangle result = Rectangle.
Intersect
(rect, this);
System.Windows.Forms (23)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
1395
layout.textBounds = Rectangle.
Intersect
(layout.textBounds, layout.field);
1406
layout.imageBounds = Rectangle.
Intersect
(layout.imageBounds, layout.field);
winforms\Managed\System\WinForms\Control.cs (2)
9419
cliprect = Rectangle.
Intersect
(this.ClientRectangle, cliprect);
18398
intersect = Rectangle.
Intersect
(posRect, clipRect);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (1)
751
outline = Rectangle.
Intersect
(bounds, outline);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (2)
911
g.SetClip(Rectangle.
Intersect
(Rectangle.
Intersect
(imgBounds2, imgBounds), Rectangle.Truncate(g.VisibleClipBounds)));
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (5)
1922
if (!Rectangle.
Intersect
(textRect, clipRect).IsEmpty) {
2007
outline = Rectangle.
Intersect
(r, outline);
2038
outline = Rectangle.
Intersect
(r, outline);
2142
if (!Rectangle.
Intersect
(rectPaint, clipRect).IsEmpty) {
2178
if (Rectangle.
Intersect
(rect, clipRect).IsEmpty) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (3)
1053
rectTarget = Rectangle.
Intersect
(clientRect, rectTarget);
1276
Rectangle cr = Rectangle.
Intersect
(rect, clipRect);
1319
Rectangle cr = Rectangle.
Intersect
(clipRect, r);
winforms\Managed\System\WinForms\ToolStripDropDownItem.cs (5)
123
Rectangle intersectionBetweenChildAndParent = Rectangle.
Intersect
(bounds, ownerItemBounds);
131
int newIntersectionWidth = Rectangle.
Intersect
(GetDropDownBounds(newDropDownDirection), ownerItemBounds).Width;
389
if (Rectangle.
Intersect
(dropDownBounds, itemScreenBounds).Height > 1) {
394
if (Rectangle.
Intersect
(dropDownBounds, itemScreenBounds).Width > 1) {
399
if (Rectangle.
Intersect
(dropDownBounds, itemScreenBounds).Width > 1) {
winforms\Managed\System\WinForms\ToolTip.cs (3)
1817
Rectangle intersection = Rectangle.
Intersect
(possibleLocations[i], neighboringToolRectangle);
1828
Rectangle locationAreaWithinScreen = Rectangle.
Intersect
(screenBounds, possibleLocations[i]);
1840
Rectangle locationWithinTopControlRectangle = Rectangle.
Intersect
(topContainerBounds, possibleLocations[i]);
System.Workflow.ComponentModel (2)
AuthoringOM\Design\ActivityDesigner.cs (1)
1037
rectangle = Rectangle.
Intersect
(Bounds, rectangle);
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (1)
317
designerBounds = Rectangle.
Intersect
(designerBounds, clipBounds);