17 references to Contains
PresentationFramework (8)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
1922if (!viewportRect.Contains(r))
src\Framework\System\Windows\Controls\DataGrid.cs (1)
6565if (itemsHostBounds.Contains(transform.TransformBounds(cellBounds)))
src\Framework\System\Windows\Controls\ItemsControl.cs (1)
3041if (viewPortBounds.Contains(elementBounds))
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (2)
1062if (tables[i].BoundingRect.Contains(tables[j].BoundingRect) && 1067else if (tables[j].BoundingRect.Contains(tables[i].BoundingRect) &&
src\Framework\System\Windows\Documents\FixedSOMTable.cs (3)
89if (this.BoundingRect.Contains(bounds)) 93if (row.BoundingRect.Contains(bounds)) 97if (cell.BoundingRect.Contains(bounds))
System.Activities.Presentation (8)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (1)
297if (!panelRect.Contains(hitTestRects[i]))
System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (4)
341if (topLeft.Contains(bounds)) 349else if (topRight.Contains(bounds)) 357else if (bottomLeft.Contains(bounds)) 365else if (bottomRight.Contains(bounds))
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
275if (rubberBandRect.Contains(rect))
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (2)
400bool isInView = viewerBounds.IntersectsWith(bounds) || viewerBounds.Contains(bounds) || bounds.Contains(viewerBounds);
UIAutomationClient (1)
MS\Internal\Automation\ClickablePoint.cs (1)
207if (hitTargetAncestorRect.Contains( targetRect ) )