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