88 references to Rect
PresentationCore (8)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (2)
236
return new
Rect
(
340
return new
Rect
(
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
216
Rect rectElement = new
Rect
(new Point(0, 0), _owner.RenderSize);
530
Rect rectElement = new
Rect
(new Point(0, 0), _owner.RenderSize);
Core\CSharp\System\Windows\Interop\HwndSource.cs (4)
1279
rootUIElement.Arrange(new
Rect
(new Point(), rootUIElement.DesiredSize));
1315
rootUIElement.Arrange(new
Rect
(new Point(), sz));
1721
rootUIElement.Arrange(new
Rect
(new Point(), sz));
1754
rootUIElement.Arrange(new
Rect
(new Point(), sizeLogicalUnits));
PresentationFramework (54)
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
183
child.Arrange(new
Rect
(new Point(x, y), child.DesiredSize));
src\Framework\MS\Internal\Controls\TemplatedAdorner.cs (1)
174
_child.Arrange(new
Rect
(new Point(), finalSize));
src\Framework\MS\Internal\Documents\DocumentGrid.cs (2)
1204
background.Arrange(new
Rect
(new Point(0, 0), arrangeSize));
1254
uiPage.Arrange(new
Rect
(pageOffset, pageSize));
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (3)
292
_pageBorder.Arrange(new
Rect
(new Point(0.0,0.0), arrangeSize));
300
new
Rect
(
307
new
Rect
(
src\Framework\MS\Internal\Helper.cs (2)
1195
Rect parentRect = new
Rect
(new Point(), virtualizingElement.DesiredSize);
1204
Rect itemsRect = itemsHost.TransformToAncestor(virtualizingElement).TransformBounds(new
Rect
(new Point(), itemsHost.DesiredSize));
src\Framework\System\Windows\Controls\Canvas.cs (1)
341
child.Arrange(new
Rect
(new Point(x, y), child.DesiredSize));
src\Framework\System\Windows\Controls\DataGrid.cs (5)
6448
Rect rowBounds = new
Rect
(new Point(), row.RenderSize);
6472
Rect itemsHostBounds = new
Rect
(new Point(), itemsHost.RenderSize);
6562
Rect cellBounds = new
Rect
(new Point(), cell.RenderSize);
6578
Rect rowBounds = new
Rect
(new Point(), rowOwner.RenderSize);
6670
Rect bounds = new
Rect
(new Point(), itemsHost.RenderSize);
src\Framework\System\Windows\Controls\GridSplitter.cs (1)
455
_decorator.Arrange(new
Rect
(new Point(), finalSize));
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
398
_floatingHeader.Arrange(new
Rect
(new Point(_currentPos.X - _relativeStartPos.X, 0), HeadersPositionList[_startColumnIndex].Size));
401
_indicator.Arrange(new
Rect
(pos, new Size(_indicator.DesiredSize.Width, arrangeSize.Height)));
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (2)
489
Rect viewPortBounds = new
Rect
(new Point(), _viewPort.RenderSize);
490
Rect itemBounds = new
Rect
(new Point(), _viewItem.RenderSize);
src\Framework\System\Windows\Controls\Image.cs (1)
270
dc.DrawImage(imageSource, new
Rect
(new Point(), RenderSize));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
272
Rect r = new
Rect
(new Point(), RenderSize);
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
2640
Rect elementBounds = new
Rect
(new Point(), element.RenderSize);
3014
Rect viewPortBounds = new
Rect
(new Point(), viewPort.RenderSize);
3015
Rect elementBounds = new
Rect
(new Point(), element.RenderSize);
3306
Rect bounds = new
Rect
(new Point(), relativeTo.RenderSize);
src\Framework\System\Windows\Controls\MediaElement.cs (1)
748
drawingContext.DrawVideo(_helper.Player, new
Rect
(new Point(), RenderSize));
src\Framework\System\Windows\Controls\MenuItem.cs (3)
860
Rect itemBounds = new
Rect
(new Point(), RenderSize);
1515
Rect r = new
Rect
(new Point(), RenderSize);
1543
Rect r = new
Rect
(new Point(), RenderSize);
src\Framework\System\Windows\Controls\Page.cs (1)
634
child.Arrange(new
Rect
(new Point(), arrangeBounds));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
162
_columnHeaderDragIndicator.Arrange(new
Rect
(
172
_columnHeaderDropLocationIndicator.Arrange(new
Rect
(point, new Size(dropIndicatorWidth, _columnHeaderDropLocationIndicator.Height)));
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (3)
374
_pageHost.Arrange(new
Rect
(_pageHost.CachedOffset, finalSize));
439
_pageHost.Arrange(new
Rect
(_pageHost.CachedOffset, _documentPage.Size));
461
_pageHost.Arrange(new
Rect
(_pageHost.CachedOffset, finalSize));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
2388
Point[] interestPoints = InterestPointsFromRect(new
Rect
(new Point(), child.RenderSize));
src\Framework\System\Windows\Controls\Primitives\Track.cs (6)
524
IncreaseRepeatButton.Arrange(new
Rect
(offset, pieceSize));
531
DecreaseRepeatButton.Arrange(new
Rect
(offset, pieceSize));
538
Thumb.Arrange(new
Rect
(offset, pieceSize));
555
DecreaseRepeatButton.Arrange(new
Rect
(offset, pieceSize));
562
IncreaseRepeatButton.Arrange(new
Rect
(offset, pieceSize));
569
Thumb.Arrange(new
Rect
(offset, pieceSize));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
1733
Rect r = new
Rect
(new Point(), RenderSize);
src\Framework\System\Windows\Controls\ViewBox.cs (1)
363
child.Arrange(new
Rect
(new Point(), child.DesiredSize));
src\Framework\System\Windows\Controls\ViewPort3D.cs (1)
172
Rect newBounds = new
Rect
(new Point(), finalSize);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
6332
Rect childRect = new
Rect
(new Point(), child.DesiredSize);
src\Framework\System\Windows\Documents\AdornerLayer.cs (1)
483
adornerInfo.Adorner.Arrange(new
Rect
(new Point(), adornerInfo.Adorner.DesiredSize));
src\Framework\System\windows\Documents\CaretElement.cs (1)
202
_caretElement.Arrange(new
Rect
(point, availableSize));
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
370
page.Arrange(new
Rect
(new Point(), fixedSize));
src\Framework\System\Windows\Documents\FixedPage.cs (1)
843
child.Arrange(new
Rect
(new Point(x, y), child.DesiredSize));
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
218
page.Arrange(new
Rect
(new Point(0, 0), pageSize));
src\Framework\System\Windows\Documents\HighlightVisual.cs (1)
97
Rect clipRect = new
Rect
(new Point(0, 0), pageSize);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
679
((UIElement)GetVisualChild(0)).Arrange(new
Rect
(new Point(), finalSize));
PresentationFramework.Aero (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
109
Rect shadowBounds = new
Rect
(new Point(ShadowDepth, ShadowDepth),
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
109
Rect shadowBounds = new
Rect
(new Point(ShadowDepth, ShadowDepth),
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
109
Rect shadowBounds = new
Rect
(new Point(ShadowDepth, ShadowDepth),
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
109
Rect shadowBounds = new
Rect
(new Point(ShadowDepth, ShadowDepth),
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (1)
61
Rect tooltipRect = new
Rect
(adornedElementRect.TopLeft + new Vector(adornedElementRect.Width, -tooltip.DesiredSize.Height), tooltip.DesiredSize);
System.Activities.Presentation (20)
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (1)
147
this.content.Arrange(new
Rect
(location, finalSize));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (1)
49
this.adornedElementRect = new
Rect
(new Point(0, 0), size);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (6)
56
Rect rect = new
Rect
(new Point(location.X - HitRegionOffset, location.Y - HitRegionOffset), new Size(size.Width + (HitRegionOffset * 2), size.Height + (HitRegionOffset * 2)));
91
rects.Add(new
Rect
(new Point(targetLocation.X - HitRegionOffset, targetLocation.Y + ((targetSize.Height - DropTargetWidth) / 2)), new Size(HitRegionOffset, DropTargetWidth)));
92
rects.Add(new
Rect
(new Point(targetLocation.X + targetSize.Width, targetLocation.Y + ((targetSize.Height - DropTargetWidth) / 2)), new Size(HitRegionOffset, DropTargetWidth)));
93
rects.Add(new
Rect
(new Point(targetLocation.X + ((targetSize.Width - DropTargetWidth) / 2), targetLocation.Y - HitRegionOffset), new Size(DropTargetWidth, HitRegionOffset)));
94
rects.Add(new
Rect
(new Point(targetLocation.X + ((targetSize.Width - DropTargetWidth) / 2), targetLocation.Y + targetSize.Height), new Size(DropTargetWidth, HitRegionOffset)));
280
Rect shapeRect = new
Rect
(shapeLocation, shapeSize);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitAdorner.cs (1)
23
this.adornedElementRect = new
Rect
(new Point(0, 0), size);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (2)
64
new
Rect
(actualLocation + connPoint.HitTestOffset, connPoint.HitTestSize));
66
new
Rect
(actualLocation + connPoint.DrawingOffset, connPoint.DrawingSize));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
133
Rect rect = new
Rect
(Point.Add(panel.TranslatePoint(FreeFormPanel.GetLocation(child), outmostPanel), new Vector(margin.Left, margin.Top)), childSize);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (3)
314
if (new
Rect
(panel.TranslatePoint(connPoint.Location, outmost) + connPoint.HitTestOffset, connPoint.HitTestSize).Contains(hitPoint))
334
((UIElement)Children[i]).Arrange(new
Rect
(pt, size));
339
((UIElement)Children[i]).Arrange(new
Rect
(pt, size));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
381
child.Arrange(new
Rect
(pos, child.DesiredSize));
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (1)
60
Rect tooltipRect = new
Rect
(new Point(0, Y), tooltip.DesiredSize);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (2)
398
Rect bounds = new
Rect
(currentPoint, new Size(this.ActualWidth, this.ActualHeight));
405
bounds = new
Rect
(currentPoint, new Size(this.ActualWidth, this.ActualHeight));
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
800
Rect dragHandleRect = new
Rect
(dragHandleLocation, new Size(this.DragHandle.ActualWidth, this.DragHandle.ActualHeight));
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
1390
Rect rect = new
Rect
(clientRect.Location, clientRect.Size);