4 overrides of TransformBounds
PresentationCore (4)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
1160public override Rect TransformBounds(Rect rect)
System\Windows\Media\Effects\Effect.cs (1)
183public override Rect TransformBounds(Rect rect)
System\Windows\Media\GeneralTransformGroup.cs (1)
63public override Rect TransformBounds(Rect rect)
System\Windows\Media\Transform.cs (1)
134public override Rect TransformBounds(Rect rect)
54 references to TransformBounds
PresentationCore (7)
MS\Internal\Automation\ElementUtil.cs (1)
124return g.TransformBounds(rect);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PointUtil.cs (1)
224Rect rectRoot = transformElementToRoot.TransformBounds(rectElement);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
284clipBounds = transform.TransformBounds(clipBounds);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
81rectBounds = rootToElement.TransformBounds(rectBounds);
System\Windows\Media\GeneralTransformGroup.cs (1)
73result = Children.Internal_GetItem(i).TransformBounds(result);
System\Windows\Media\Visual.cs (1)
554Rect unitTransformedBounds = effect.EffectMapping.TransformBounds(unitBounds);
System\Windows\Media3D\GeneralTransform3DTo2D.cs (1)
79return _transformBetween2D.TransformBounds(MILUtilities.ProjectBounds(ref _projectionTransform, ref rect3D));
PresentationFramework (44)
MS\Internal\Documents\DocumentGrid.cs (1)
1811Rect offsetRect = transform.TransformBounds(boundingRect);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
465rectBounds = transform.TransformBounds(rectBounds);
MS\Internal\Documents\MultiPageTextView.cs (1)
1268rect = transform.TransformBounds(rect);
MS\Internal\Documents\ScrollData.cs (1)
183rectangle = childTransform.TransformBounds(rectangle);
MS\Internal\Helper.cs (1)
1179Rect itemsRect = itemsHost.TransformToAncestor(virtualizingElement).TransformBounds(new Rect(new Point(), itemsHost.DesiredSize));
MS\Internal\Ink\InkCanvasSelection.cs (2)
391elementBounds = elementToCanvas.TransformBounds(elementBounds); // Rect in Canvas space 1074rect = elementToCanvas.TransformBounds(rect); // Rect in Canvas space
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
341transformedRectangles.Add(transform.TransformBounds(rectangles[index])); 629contentViewport = transform.TransformBounds(contentViewport);
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
255clipBounds = transform.TransformBounds(clipBounds);
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
185rectBounds = transform.TransformBounds(rectBounds);
System\Windows\Controls\DataGrid.cs (1)
6557if (itemsHostBounds.Contains(transform.TransformBounds(cellBounds)))
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1135targetRect = t.TransformBounds(targetRect); 1163targetRect = t.TransformBounds(targetRect);
System\Windows\Controls\GridViewRowPresenter.cs (1)
484itemBounds = _viewItem.TransformToAncestor(_viewPort).TransformBounds(itemBounds);
System\Windows\Controls\ItemsControl.cs (3)
2629elementBounds = element.TransformToAncestor(viewportElement).TransformBounds(elementBounds); 3004elementBounds = CorrectCatastrophicCancellation(element.TransformToAncestor(viewPort)).TransformBounds(elementBounds); 3097layoutRect = CorrectCatastrophicCancellation(parent.TransformToAncestor(viewPort)).TransformBounds(element.PreviousArrangeRect);
System\Windows\Controls\PopupControlService.cs (1)
883Rect rectRoot = transformToRoot.TransformBounds(rect);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1176targetRect = transform.TransformBounds(targetRect);
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
579rectangle = childTransform.TransformBounds(rectangle);
System\Windows\Controls\ScrollViewer.cs (1)
2275rcNew = t.TransformBounds(rcNew);
System\Windows\Controls\SinglePageViewer.cs (1)
837pageRect = pageViews[index].TransformToAncestor(this).TransformBounds(pageRect);
System\Windows\Controls\Stack.cs (1)
253rectangle = childTransform.TransformBounds(rectangle);
System\Windows\Controls\TextAdaptor.cs (2)
249rangeBounds = childToParent.TransformBounds(rangeBounds); 357rectBounds = transform.TransformBounds(rectBounds);
System\Windows\Controls\VirtualizingStackPanel.cs (2)
1503rectangle = childTransform.TransformBounds(rectangle); 6469Rect itemsRect = transform.TransformBounds(childRect);
System\Windows\Documents\CompositionAdorner.cs (1)
256rect = transform.TransformBounds(rect);
System\Windows\Documents\FixedPage.cs (1)
1245alignmentBox = transform.TransformBounds(alignmentBox);
System\Windows\Documents\FixedPageStructure.cs (4)
316Rect imageRect = transform.TransformBounds(boundingRect); 350Rect imageRect = transform.TransformBounds(boundingRect); 538glyphBox = g.TransformBounds(glyphBox); 601imageRect = transform.TransformBounds(boundingRect);
System\Windows\Documents\FixedSOMImage.cs (1)
30_boundingRect = trans.TransformBounds(imageRect);
System\Windows\Documents\FixedSOMTextRun.cs (1)
30_boundingRect = trans.TransformBounds(boundingRect);
System\Windows\Documents\FixedTextView.cs (1)
287backgroundRect = transform.TransformBounds(backgroundRect);
System\Windows\Documents\HighlightVisual.cs (1)
229backgroundRect = transform.TransformBounds(backgroundRect);
System\Windows\Documents\TextPointerBase.cs (1)
911rect = transformFromRenderToUiScope.TransformBounds(rect);
System\Windows\Input\KeyboardNavigation.cs (5)
590rect = _hostToAdornedElement.TransformBounds(rect); 607rect = _hostToAdornedElement.TransformBounds(rect); 2393return transform.TransformBounds(new Rect(x, y, width, height)); 2423return transform.TransformBounds(rect); 2441return transform.TransformBounds(rectElement);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
818rectangle = childTransform.TransformBounds(rectangle);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
904rectangle = childTransform.TransformBounds(rectangle);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
141rectangle = childTransform.TransformBounds(rectangle);