77 references to Rect
PresentationCore (7)
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
293Rect boundingRect = new Rect(owner.RenderSize);
Core\CSharp\System\Windows\Documents\DocumentPage.cs (2)
124return new Rect(this.Size); 139return new Rect(this.Size);
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (1)
283element.Arrange(new Rect(element.DesiredSize));
Core\CSharp\System\Windows\Media\VisualBrush.cs (1)
251element.Arrange(new Rect(element.DesiredSize));
Core\CSharp\System\Windows\UIElement.cs (2)
1342Rect hitBounds = new Rect(_size); 3381RectangleGeometry rect = new RectangleGeometry(new Rect(RenderSize));
PresentationFramework (66)
src\Framework\MS\Internal\Annotations\Component\AnnotationAdorner.cs (1)
158((UIElement)_annotationComponent).Arrange(new Rect(((UIElement)_annotationComponent).DesiredSize));
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (2)
1083textViewBounds = TransformToAncestor(_pageTextViews[i].RenderScope, new Rect(_pageTextViews[i].RenderScope.RenderSize)); 1097textViewBounds = TransformToAncestor(_pageTextViews[i].RenderScope, new Rect(_pageTextViews[i].RenderScope.RenderSize));
src\Framework\MS\Internal\Documents\UIElementIsland.cs (1)
94_child.Arrange(new Rect(islandSize));
src\Framework\MS\Internal\Helper.cs (1)
564child.Arrange(new Rect(arrangeSize));
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
799return new Rect(this.Size); 885this.PageVisual.DrawBackground((Brush)_structuralCache.PropertyOwner.GetValue(FlowDocument.BackgroundProperty), new Rect(_partitionSize));
src\Framework\MS\Internal\PtsHost\PtsPage.cs (1)
817_pageContextOfThisPage.PageRect = new PTS.FSRECT(new Rect(_section.StructuralCache.CurrentFormatContext.PageSize));
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (2)
1455uiElement.Arrange(new Rect(uiElement.DesiredSize)); 1488uiElement.Arrange(new Rect(uiElement.DesiredSize));
src\Framework\MS\Internal\Text\ComplexLine.cs (1)
220inlineObject.Element.Arrange(new Rect(inlineObject.Element.DesiredSize));
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (4)
320decorator.Arrange(new Rect(decorator.DesiredSize)); 361decorator.Arrange(new Rect(decorator.DesiredSize)); 371return new AnnotatedDocumentPage(page, decorator, tempSize, new Rect(tempSize), new Rect(tempSize));
src\Framework\System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
254boundingRect = new Rect(textView.RenderScope.RenderSize);
src\Framework\System\Windows\Controls\AccessText.cs (1)
437TextBlock.Arrange(new Rect(arrangeSize));
src\Framework\System\Windows\Controls\AdornedElementPlaceholder.cs (1)
221child.Arrange(new Rect(arrangeBounds));
src\Framework\System\Windows\Controls\Border.cs (1)
277Rect boundRect = new Rect(finalSize);
src\Framework\System\Windows\Controls\Canvas.cs (1)
355return new RectangleGeometry(new Rect(RenderSize));
src\Framework\System\Windows\Controls\ComboBox.cs (4)
916visualBrush.Viewbox = new Rect(_clonedElement.RenderSize); 920visualBrush.Viewport = new Rect(_clonedElement.RenderSize); 980visualBrush.Viewbox = new Rect(_clonedElement.RenderSize); 981visualBrush.Viewport = new Rect(_clonedElement.RenderSize);
src\Framework\System\Windows\Controls\Control.cs (1)
733child.Arrange(new Rect(arrangeBounds));
src\Framework\System\Windows\Controls\DataGridCell.cs (2)
869Rect rect = new Rect(new Size(thickness, RenderSize.Height)); 878Rect rect = new Rect(new Size(RenderSize.Width, thickness));
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
1489Rect rcChild = new Rect(new Size(childWidth, arrangeState.ChildHeight));
src\Framework\System\Windows\Controls\Decorator.cs (1)
219child.Arrange(new Rect(arrangeSize));
src\Framework\System\Windows\Controls\DocumentViewer.cs (1)
1403Rect gridRect = Rect.Transform(new Rect(grid.RenderSize),
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (1)
1138targetRect = new Rect(targetUIElement.RenderSize);
src\Framework\System\Windows\Controls\Grid.cs (1)
740child.Arrange(new Rect(arrangeSize));
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
259_localAdornerDecorator.Arrange(new Rect(arrangeSize));
src\Framework\System\Windows\Controls\InkPresenter.cs (1)
228child.Arrange(new Rect(availableSize));
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
287bullet.Arrange(new Rect(bullet.DesiredSize));
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
487Rect rect = new Rect(new Size(RenderSize.Width, thickness));
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (2)
149Rect childRect = new Rect(finalSize); 183RectangleGeometry clip = new RectangleGeometry(new Rect(RenderSize));
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
295Rect rect = new Rect(new Size(RenderSize.Width, thickness));
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
969Rect pageVisualRect = new Rect(_documentPage.Size);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (2)
1190targetRect = new Rect(targetObject.RenderSize); 1194targetRect.IntersectsWith(new Rect(this.RenderSize));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (1)
2133childBounds = new Rect((Size)_secHelper.GetTransformToDevice().Transform((Point)_popupRoot.Value.RenderSize));
src\Framework\System\Windows\Controls\Primitives\PopupRoot.cs (1)
246_transformDecorator.Arrange(new Rect(arrangeSize));
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (3)
486_adornerLayer.Arrange(new Rect(arrangeSize)); 491Rect childRect = new Rect(child.DesiredSize); 523return new RectangleGeometry(new Rect(RenderSize));
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
299Rect rcChild = new Rect(arrangeSize);
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2300targetRect = new Rect(uie.RenderSize);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
846pageRect = new Rect(pageViews[index].RenderSize);
src\Framework\System\Windows\Controls\Stack.cs (1)
732Rect rcChild = new Rect(arrangeSize);
src\Framework\System\Windows\Controls\TextAdaptor.cs (1)
326Rect visibleRect = new Rect(textView.RenderScope.RenderSize);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
3338Rect rcChild = new Rect(arrangeSize);
src\Framework\System\Windows\Documents\AdornerDecorator.cs (1)
151_adornerLayer.Arrange(new Rect(finalSize));
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
1174e.Arrange(new Rect(base.Size));
src\Framework\System\Windows\Documents\FixedDocument.cs (3)
1399base(page, fixedSize, new Rect(fixedSize), new Rect(fixedSize)) 1466e.Arrange(new Rect(base.Size));
src\Framework\System\Windows\Documents\FixedSOMImage.cs (1)
67Rect sourceRect = new Rect(image.RenderSize);
src\Framework\System\Windows\Documents\TextStore.cs (1)
938Rect rectBound = new Rect(Size.Empty);
src\Framework\System\Windows\FrameworkElement.cs (1)
5250Rect inkRectTransformed = Rect.Transform(new Rect(inkSize), ltd.Transform.Value);
src\Framework\System\Windows\Interop\HwndHost.cs (3)
514Rect rectElement = new Rect(RenderSize); 880return new Rect(RenderSize); 953Rect rectElement = new Rect(RenderSize);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
1234hrgn = _CreateRoundRectRgn(new Rect(windowSize), topLeftRadius);
src\Framework\System\Windows\Window.cs (1)
1945child.Arrange(new Rect(childArrangeBounds));
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\FlowchartExpressionAdorner.cs (1)
60Rect adornedElementRect = new Rect(this.AdornedElement.DesiredSize);
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\DockedAnnotationDecorator.cs (1)
31this.Child.Arrange(new Rect(finalSize));
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
917this.content.Arrange(new Rect(this.content.DesiredSize));
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
222icon.Drawing = new ImageDrawing(imageSource, new Rect(new Size(16, 16)));