46 references to IntersectsWith
System.Windows.Forms (38)
winforms\Managed\System\WinForms\ComboBox.cs (4)
6108
if (topOwnerDrawArea.
IntersectsWith
(updateRegionBox)) {
6113
if (bottomOwnerDrawArea.
IntersectsWith
(updateRegionBox)) {
6118
if (leftOwnerDrawArea.
IntersectsWith
(updateRegionBox)) {
6123
if (rightOwnerDrawArea.
IntersectsWith
(updateRegionBox)) {
winforms\Managed\System\WinForms\DataGridViewCell.cs (1)
4939
if (!cellBounds.
IntersectsWith
(this.owner.DataGridView.ClientRectangle))
winforms\Managed\System\WinForms\DataGridViewMethods.cs (12)
10614
this.editingPanel.Bounds.
IntersectsWith
(lastSplitBarRect))
10679
this.editingPanel.Bounds.
IntersectsWith
(lastSplitBarRect))
17134
if (clipRect.
IntersectsWith
(gridRect))
17146
if (clipRect.
IntersectsWith
(this.layout.ResizeBoxRect))
19840
paintingNeeded = clipRect.
IntersectsWith
(edge);
19845
paintingNeeded = clipRect.
IntersectsWith
(edge);
19852
paintingNeeded = clipRect.
IntersectsWith
(edge);
19857
paintingNeeded = clipRect.
IntersectsWith
(edge);
20047
(clipRect.
IntersectsWith
(this.layout.TopLeftHeader) || this.lastHeaderShadow != -1))
20068
if (clipRect.
IntersectsWith
(columnHeadersClip) || this.lastHeaderShadow != -1)
20146
if (clipRect.
IntersectsWith
(rowBounds))
20198
if (clipRect.
IntersectsWith
(rowBounds))
winforms\Managed\System\WinForms\DataGridViewRow.cs (4)
1638
if (clipBounds.
IntersectsWith
(cellBounds))
1725
if (clipBounds.
IntersectsWith
(cellBounds))
1804
if (clipBounds.
IntersectsWith
(cellBounds))
2111
if (!rowBounds.
IntersectsWith
(this.owner.DataGridView.ClientRectangle))
winforms\Managed\System\WinForms\Layout\LayoutUtils.cs (2)
209
if (!rect1.
IntersectsWith
(rect2)) {
224
if (!rect1.
IntersectsWith
(rect2)) {
winforms\Managed\System\WinForms\Layout\TableLayout.cs (1)
2089
Debug.Assert(!cellsOccupied1.
IntersectsWith
(cellsOccupied2), "controls overlap in the same cell");
winforms\Managed\System\WinForms\ListView.cs (3)
2536
if (!ClientRectangle.
IntersectsWith
(itemBounds))
2617
if (!ClientRectangle.
IntersectsWith
(itemBounds))
2650
if (this.ClientRectangle.
IntersectsWith
(subItemBounds))
winforms\Managed\System\WinForms\StatusStrip.cs (2)
391
if (overflow || (SizingGrip && item.Bounds.
IntersectsWith
(SizeGripBounds))) {
397
else if (lastItem != null && (lastItemBounds.
IntersectsWith
(item.Bounds))) {
winforms\Managed\System\WinForms\TableLayoutPanel.cs (1)
441
if (clipRect.
IntersectsWith
(insideCellBounds)) {
winforms\Managed\System\WinForms\ToolStrip.cs (3)
4033
if (bounds.
IntersectsWith
(comparisonRect) && lastMouseActiveItem.ParentInternal == this) {
4051
if (bounds.
IntersectsWith
(comparisonRect)) {
4444
bool intersects = item.Bounds.
IntersectsWith
(clientBounds);
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (2)
1192
if (displayRect.
IntersectsWith
(paintRects[i])) {
1212
if (!displayRect.
IntersectsWith
(otherBottom)) {
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (1)
118
if (overlap.
IntersectsWith
(itemBounds)) {
winforms\Managed\System\WinForms\ToolStripSplitStackLayout.cs (2)
356
else if (alignedRightItems.Width > 0 && alignedLeftItems.Width > 0 && alignedRightItems.
IntersectsWith
(alignedLeftItems)) {
481
else if (alignedRightItems.Width > 0 && alignedLeftItems.Width > 0 && alignedRightItems.
IntersectsWith
(alignedLeftItems)) {
System.Workflow.ComponentModel (8)
AuthoringOM\Design\ActivityDesigner.cs (1)
2966
if (IsVisible && viewPort.
IntersectsWith
(bounds))
AuthoringOM\Design\CompositeActivityDesigner.cs (2)
683
if (!rectangle.
IntersectsWith
(topLevelDesigner.Bounds))
702
if (activityDesigner.IsVisible && rectangle.
IntersectsWith
(activityDesigner.Bounds))
AuthoringOM\Design\MessageFilters\GlyphManager.cs (1)
392
if ((viewPortEmpty || logicalViewPort.
IntersectsWith
(activityDesigner.Bounds)) && activityDesigner.IsVisible)
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
524
if (logicalViewPort.
IntersectsWith
(connectors[i]) && i != CurrentDropTarget && dragDropManager.IsValidDropContext(new ConnectorHitTestInfo(this, HitTestLocations.Designer, i)))
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
672
if (e.ViewPort.
IntersectsWith
(designerBounds))
AuthoringOM\Design\WorkflowLayouts.cs (2)
558
if (!pageLayoutData.PageBounds.
IntersectsWith
(physicalViewPort))
641
if (!pageLayoutData.PageBounds.
IntersectsWith
(physicalViewPort) || pageLayoutData.PageBounds.Width <= 0 || pageLayoutData.PageBounds.Height <= 0)