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