88 references to Rect
PresentationCore (8)
Core\CSharp\MS\Internal\AnimatedTypeHelpers.cs (2)
236return new Rect( 340return new Rect(
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (2)
216Rect rectElement = new Rect(new Point(0, 0), _owner.RenderSize); 530Rect rectElement = new Rect(new Point(0, 0), _owner.RenderSize);
Core\CSharp\System\Windows\Interop\HwndSource.cs (4)
1279rootUIElement.Arrange(new Rect(new Point(), rootUIElement.DesiredSize)); 1315rootUIElement.Arrange(new Rect(new Point(), sz)); 1721rootUIElement.Arrange(new Rect(new Point(), sz)); 1754rootUIElement.Arrange(new Rect(new Point(), sizeLogicalUnits));
PresentationFramework (54)
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
183child.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)
1204background.Arrange(new Rect(new Point(0, 0), arrangeSize)); 1254uiPage.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)); 300new Rect( 307new Rect(
src\Framework\MS\Internal\Helper.cs (2)
1195Rect parentRect = new Rect(new Point(), virtualizingElement.DesiredSize); 1204Rect itemsRect = itemsHost.TransformToAncestor(virtualizingElement).TransformBounds(new Rect(new Point(), itemsHost.DesiredSize));
src\Framework\System\Windows\Controls\Canvas.cs (1)
341child.Arrange(new Rect(new Point(x, y), child.DesiredSize));
src\Framework\System\Windows\Controls\DataGrid.cs (5)
6448Rect rowBounds = new Rect(new Point(), row.RenderSize); 6472Rect itemsHostBounds = new Rect(new Point(), itemsHost.RenderSize); 6562Rect cellBounds = new Rect(new Point(), cell.RenderSize); 6578Rect rowBounds = new Rect(new Point(), rowOwner.RenderSize); 6670Rect 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)
489Rect viewPortBounds = new Rect(new Point(), _viewPort.RenderSize); 490Rect itemBounds = new Rect(new Point(), _viewItem.RenderSize);
src\Framework\System\Windows\Controls\Image.cs (1)
270dc.DrawImage(imageSource, new Rect(new Point(), RenderSize));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
272Rect r = new Rect(new Point(), RenderSize);
src\Framework\System\Windows\Controls\ItemsControl.cs (4)
2640Rect elementBounds = new Rect(new Point(), element.RenderSize); 3014Rect viewPortBounds = new Rect(new Point(), viewPort.RenderSize); 3015Rect elementBounds = new Rect(new Point(), element.RenderSize); 3306Rect bounds = new Rect(new Point(), relativeTo.RenderSize);
src\Framework\System\Windows\Controls\MediaElement.cs (1)
748drawingContext.DrawVideo(_helper.Player, new Rect(new Point(), RenderSize));
src\Framework\System\Windows\Controls\MenuItem.cs (3)
860Rect itemBounds = new Rect(new Point(), RenderSize); 1515Rect r = new Rect(new Point(), RenderSize); 1543Rect r = new Rect(new Point(), RenderSize);
src\Framework\System\Windows\Controls\Page.cs (1)
634child.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)
2388Point[] interestPoints = InterestPointsFromRect(new Rect(new Point(), child.RenderSize));
src\Framework\System\Windows\Controls\Primitives\Track.cs (6)
524IncreaseRepeatButton.Arrange(new Rect(offset, pieceSize)); 531DecreaseRepeatButton.Arrange(new Rect(offset, pieceSize)); 538Thumb.Arrange(new Rect(offset, pieceSize)); 555DecreaseRepeatButton.Arrange(new Rect(offset, pieceSize)); 562IncreaseRepeatButton.Arrange(new Rect(offset, pieceSize)); 569Thumb.Arrange(new Rect(offset, pieceSize));
src\Framework\System\Windows\Controls\TextBlock.cs (1)
1733Rect r = new Rect(new Point(), RenderSize);
src\Framework\System\Windows\Controls\ViewBox.cs (1)
363child.Arrange(new Rect(new Point(), child.DesiredSize));
src\Framework\System\Windows\Controls\ViewPort3D.cs (1)
172Rect newBounds = new Rect(new Point(), finalSize);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
6332Rect childRect = new Rect(new Point(), child.DesiredSize);
src\Framework\System\Windows\Documents\AdornerLayer.cs (1)
483adornerInfo.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)
370page.Arrange(new Rect(new Point(), fixedSize));
src\Framework\System\Windows\Documents\FixedPage.cs (1)
843child.Arrange(new Rect(new Point(x, y), child.DesiredSize));
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
218page.Arrange(new Rect(new Point(0, 0), pageSize));
src\Framework\System\Windows\Documents\HighlightVisual.cs (1)
97Rect 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)
109Rect shadowBounds = new Rect(new Point(ShadowDepth, ShadowDepth),
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
109Rect shadowBounds = new Rect(new Point(ShadowDepth, ShadowDepth),
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
109Rect shadowBounds = new Rect(new Point(ShadowDepth, ShadowDepth),
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (1)
109Rect shadowBounds = new Rect(new Point(ShadowDepth, ShadowDepth),
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (1)
61Rect 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)
147this.content.Arrange(new Rect(location, finalSize));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (1)
49this.adornedElementRect = new Rect(new Point(0, 0), size);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (6)
56Rect rect = new Rect(new Point(location.X - HitRegionOffset, location.Y - HitRegionOffset), new Size(size.Width + (HitRegionOffset * 2), size.Height + (HitRegionOffset * 2))); 91rects.Add(new Rect(new Point(targetLocation.X - HitRegionOffset, targetLocation.Y + ((targetSize.Height - DropTargetWidth) / 2)), new Size(HitRegionOffset, DropTargetWidth))); 92rects.Add(new Rect(new Point(targetLocation.X + targetSize.Width, targetLocation.Y + ((targetSize.Height - DropTargetWidth) / 2)), new Size(HitRegionOffset, DropTargetWidth))); 93rects.Add(new Rect(new Point(targetLocation.X + ((targetSize.Width - DropTargetWidth) / 2), targetLocation.Y - HitRegionOffset), new Size(DropTargetWidth, HitRegionOffset))); 94rects.Add(new Rect(new Point(targetLocation.X + ((targetSize.Width - DropTargetWidth) / 2), targetLocation.Y + targetSize.Height), new Size(DropTargetWidth, HitRegionOffset))); 280Rect shapeRect = new Rect(shapeLocation, shapeSize);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoSplitAdorner.cs (1)
23this.adornedElementRect = new Rect(new Point(0, 0), size);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectionPointsAdorner.cs (2)
64new Rect(actualLocation + connPoint.HitTestOffset, connPoint.HitTestSize)); 66new Rect(actualLocation + connPoint.DrawingOffset, connPoint.DrawingSize));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (1)
133Rect 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)
314if (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)
381child.Arrange(new Rect(pos, child.DesiredSize));
System.Activities.Presentation\System\Activities\Presentation\View\SearchToolTipAdorner.cs (1)
60Rect tooltipRect = new Rect(new Point(0, Y), tooltip.DesiredSize);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (2)
398Rect bounds = new Rect(currentPoint, new Size(this.ActualWidth, this.ActualHeight)); 405bounds = new Rect(currentPoint, new Size(this.ActualWidth, this.ActualHeight));
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
800Rect dragHandleRect = new Rect(dragHandleLocation, new Size(this.DragHandle.ActualWidth, this.DragHandle.ActualHeight));
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
1390Rect rect = new Rect(clientRect.Location, clientRect.Size);