4 overrides of TransformBounds
PresentationCore (4)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
1176public override Rect TransformBounds(Rect rect)
System\Windows\Media\Effects\Effect.cs (1)
190public override Rect TransformBounds(Rect rect)
System\Windows\Media\GeneralTransformGroup.cs (1)
80public override Rect TransformBounds(Rect rect)
System\Windows\Media\Transform.cs (1)
146public override Rect TransformBounds(Rect rect)
54 references to TransformBounds
PresentationCore (7)
MS\Internal\Automation\ElementUtil.cs (1)
139return g.TransformBounds(rect);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PointUtil.cs (1)
227Rect rectRoot = transformElementToRoot.TransformBounds(rectElement);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
293clipBounds = transform.TransformBounds(clipBounds);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
83rectBounds = rootToElement.TransformBounds(rectBounds);
System\Windows\Media\GeneralTransformGroup.cs (1)
90result = Children.Internal_GetItem(i).TransformBounds(result);
System\Windows\Media\Visual.cs (1)
570Rect unitTransformedBounds = effect.EffectMapping.TransformBounds(unitBounds);
System\Windows\Media3D\GeneralTransform3DTo2D.cs (1)
88return _transformBetween2D.TransformBounds(MILUtilities.ProjectBounds(ref _projectionTransform, ref rect3D));
PresentationFramework (44)
MS\Internal\Documents\DocumentGrid.cs (1)
1818Rect offsetRect = transform.TransformBounds(boundingRect);
MS\Internal\Documents\DocumentViewerHelper.cs (1)
467rectBounds = transform.TransformBounds(rectBounds);
MS\Internal\Documents\MultiPageTextView.cs (1)
1270rect = transform.TransformBounds(rect);
MS\Internal\Documents\ScrollData.cs (1)
185rectangle = childTransform.TransformBounds(rectangle);
MS\Internal\Helper.cs (1)
1188Rect itemsRect = itemsHost.TransformToAncestor(virtualizingElement).TransformBounds(new Rect(new Point(), itemsHost.DesiredSize));
MS\Internal\Ink\InkCanvasSelection.cs (2)
403elementBounds = elementToCanvas.TransformBounds(elementBounds); // Rect in Canvas space 1086rect = elementToCanvas.TransformBounds(rect); // Rect in Canvas space
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
349transformedRectangles.Add(transform.TransformBounds(rectangles[index])); 637contentViewport = transform.TransformBounds(contentViewport);
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
257clipBounds = transform.TransformBounds(clipBounds);
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
189rectBounds = transform.TransformBounds(rectBounds);
System\Windows\Controls\DataGrid.cs (1)
6560if (itemsHostBounds.Contains(transform.TransformBounds(cellBounds)))
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1138targetRect = t.TransformBounds(targetRect); 1166targetRect = t.TransformBounds(targetRect);
System\Windows\Controls\GridViewRowPresenter.cs (1)
488itemBounds = _viewItem.TransformToAncestor(_viewPort).TransformBounds(itemBounds);
System\Windows\Controls\ItemsControl.cs (3)
2638elementBounds = element.TransformToAncestor(viewportElement).TransformBounds(elementBounds); 3013elementBounds = CorrectCatastrophicCancellation(element.TransformToAncestor(viewPort)).TransformBounds(elementBounds); 3106layoutRect = CorrectCatastrophicCancellation(parent.TransformToAncestor(viewPort)).TransformBounds(element.PreviousArrangeRect);
System\Windows\Controls\PopupControlService.cs (1)
893Rect rectRoot = transformToRoot.TransformBounds(rect);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1181targetRect = transform.TransformBounds(targetRect);
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
589rectangle = childTransform.TransformBounds(rectangle);
System\Windows\Controls\ScrollViewer.cs (1)
2283rcNew = t.TransformBounds(rcNew);
System\Windows\Controls\SinglePageViewer.cs (1)
840pageRect = pageViews[index].TransformToAncestor(this).TransformBounds(pageRect);
System\Windows\Controls\Stack.cs (1)
259rectangle = childTransform.TransformBounds(rectangle);
System\Windows\Controls\TextAdaptor.cs (2)
252rangeBounds = childToParent.TransformBounds(rangeBounds); 360rectBounds = transform.TransformBounds(rectBounds);
System\Windows\Controls\VirtualizingStackPanel.cs (2)
1508rectangle = childTransform.TransformBounds(rectangle); 6474Rect itemsRect = transform.TransformBounds(childRect);
System\Windows\Documents\CompositionAdorner.cs (1)
259rect = transform.TransformBounds(rect);
System\Windows\Documents\FixedPage.cs (1)
1253alignmentBox = transform.TransformBounds(alignmentBox);
System\Windows\Documents\FixedPageStructure.cs (4)
322Rect imageRect = transform.TransformBounds(boundingRect); 356Rect imageRect = transform.TransformBounds(boundingRect); 544glyphBox = g.TransformBounds(glyphBox); 607imageRect = transform.TransformBounds(boundingRect);
System\Windows\Documents\FixedSOMImage.cs (1)
32_boundingRect = trans.TransformBounds(imageRect);
System\Windows\Documents\FixedSOMTextRun.cs (1)
34_boundingRect = trans.TransformBounds(boundingRect);
System\Windows\Documents\FixedTextView.cs (1)
295backgroundRect = transform.TransformBounds(backgroundRect);
System\Windows\Documents\HighlightVisual.cs (1)
239backgroundRect = transform.TransformBounds(backgroundRect);
System\Windows\Documents\TextPointerBase.cs (1)
913rect = transformFromRenderToUiScope.TransformBounds(rect);
System\Windows\Input\KeyboardNavigation.cs (5)
600rect = _hostToAdornedElement.TransformBounds(rect); 617rect = _hostToAdornedElement.TransformBounds(rect); 2403return transform.TransformBounds(new Rect(x, y, width, height)); 2433return transform.TransformBounds(rect); 2451return transform.TransformBounds(rectElement);
System.Windows.Controls.Ribbon (3)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
823rectangle = childTransform.TransformBounds(rectangle);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
907rectangle = childTransform.TransformBounds(rectangle);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
145rectangle = childTransform.TransformBounds(rectangle);