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