110 references to TransformToAncestor
PresentationCore (8)
MS\Internal\Automation\ElementUtil.cs (1)
138
GeneralTransform g = element.
TransformToAncestor
(parent);
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
113
transformGroup.Children.Add(descendentVisual.
TransformToAncestor
(visual3Dchild));
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\PointUtil.cs (1)
226
GeneralTransform transformElementToRoot = element.
TransformToAncestor
(presentationSource.RootVisual);
System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
287
GeneralTransform transform = owner.
TransformToAncestor
(visualParent).Inverse;
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
132
elementToRoot = containingVisual2D.
TransformToAncestor
(rootVisual);
System\Windows\Media\Visual.cs (2)
4691
GeneralTransform transform2D = this.
TransformToAncestor
(containingVisual3D.Visual);
4749
GeneralTransform gUp = this.
TransformToAncestor
(inputSource.RootVisual);
System\Windows\Media3D\Visual3D.cs (1)
1818
GeneralTransform transformIn2D = containingViewport.
TransformToAncestor
(ancestor);
PresentationFramework (90)
MS\Internal\Documents\DocumentGrid.cs (1)
1815
GeneralTransform transform = data.Visual.
TransformToAncestor
(this);
MS\Internal\Documents\DocumentPageTextView.cs (3)
576
Transform transform = _page.Visual.
TransformToAncestor
(_owner) as Transform;
591
GeneralTransform transform = _page.Visual.
TransformToAncestor
(_owner);
606
GeneralTransform transform = _page.Visual.
TransformToAncestor
(_owner);
MS\Internal\Documents\DocumentViewerHelper.cs (2)
423
GeneralTransform transform = textView.RenderScope.
TransformToAncestor
(viewer);
461
GeneralTransform transform = originalVisual.
TransformToAncestor
(visual).Inverse;
MS\Internal\Documents\MultiPageTextView.cs (6)
174
Transform transform = _pageTextViews[i].RenderScope.
TransformToAncestor
(_renderScope).AffineTransform;
418
GeneralTransform transform = _renderScope.
TransformToAncestor
(_viewer);
1251
Transform transform = innerScope.
TransformToAncestor
(_renderScope) as Transform;
1267
GeneralTransform transform = innerScope.
TransformToAncestor
(_renderScope);
1282
GeneralTransform transform = innerScope.
TransformToAncestor
(_renderScope);
1296
GeneralTransform transform = innerScope.
TransformToAncestor
(_renderScope);
MS\Internal\Documents\ScrollData.cs (1)
184
GeneralTransform childTransform = visual.
TransformToAncestor
(owner);
MS\Internal\Helper.cs (1)
1188
Rect itemsRect = itemsHost.
TransformToAncestor
(virtualizingElement).TransformBounds(new Rect(new Point(), itemsHost.DesiredSize));
MS\Internal\Ink\InkCanvasSelection.cs (2)
385
GeneralTransform elementToCanvas = originalElement.
TransformToAncestor
(_inkCanvas.InnerCanvas);
1080
GeneralTransform elementToCanvas = element.
TransformToAncestor
(innerCanvas);
MS\Internal\Ink\LassoSelectionBehavior.cs (1)
412
GeneralTransform parentTransform = childElement.
TransformToAncestor
(canvas);
MS\Internal\LayoutDump.cs (5)
225
GeneralTransform g = visual.
TransformToAncestor
(parent);
257
GeneralTransform g = element.
TransformToAncestor
(parent);
307
GeneralTransform g = page.Visual.
TransformToAncestor
(parent);
562
GeneralTransform gt = documentPage.Visual.
TransformToAncestor
(fdView);
913
GeneralTransform g = visual.
TransformToAncestor
(visualParent);
MS\Internal\PtsHost\FlowDocumentPage.cs (3)
292
GeneralTransform transform = this.PageVisual.Child.
TransformToAncestor
(this.PageVisual);
345
GeneralTransform transform = this.PageVisual.Child.
TransformToAncestor
(this.PageVisual);
631
GeneralTransform transform = this.PageVisual.Child.
TransformToAncestor
(this.PageVisual);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
105
transform = relativeTo.
TransformToAncestor
(source.RootVisual);
System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
251
GeneralTransform transform = textView.RenderScope.
TransformToAncestor
(visual).Inverse;
System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
182
GeneralTransform transform = textView.RenderScope.
TransformToAncestor
(visual).Inverse;
System\Windows\Controls\DataGrid.cs (2)
4095
GeneralTransform transform = row.
TransformToAncestor
(InternalScrollHost);
6556
GeneralTransform transform = cell.
TransformToAncestor
(itemsHost);
System\Windows\Controls\DataGridCellsPanel.cs (1)
1991
cellsPanelOffset = horizontalOffset +
TransformToAncestor
(scrollViewer).Transform(new Point()).X;
System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1137
GeneralTransform t = RenderScope.
TransformToAncestor
(this);
1165
GeneralTransform t = RenderScope.
TransformToAncestor
(this);
System\Windows\Controls\GridViewRowPresenter.cs (1)
488
itemBounds = _viewItem.
TransformToAncestor
(_viewPort).TransformBounds(itemBounds);
System\Windows\Controls\ItemsControl.cs (3)
2638
elementBounds = element.
TransformToAncestor
(viewportElement).TransformBounds(elementBounds);
3013
elementBounds = CorrectCatastrophicCancellation(element.
TransformToAncestor
(viewPort)).TransformBounds(elementBounds);
3106
layoutRect = CorrectCatastrophicCancellation(parent.
TransformToAncestor
(viewPort)).TransformBounds(element.PreviousArrangeRect);
System\Windows\Controls\PopupControlService.cs (1)
886
GeneralTransform transformToRoot = visualParent.
TransformToAncestor
(presentationSource.RootVisual);
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
375
text.
TransformToAncestor
(element).TryTransform(ancestorOffset, out ancestorOffset);
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
983
GeneralTransform transform = currentHeader.
TransformToAncestor
(this);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1180
GeneralTransform transform = targetObject.
TransformToAncestor
(this);
System\Windows\Controls\Primitives\Popup.cs (3)
1826
TransformToAncestor
(rootVisual).AffineTransform.Value * //Transform between popup and root (Affine only)
2436
visualToClientTransform.Children.Add(visual.
TransformToAncestor
(rootVisual));
3050
GeneralTransform transformTo = targetVisual.
TransformToAncestor
(rootVisual);
System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
585
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
System\Windows\Controls\ScrollViewer.cs (1)
2282
GeneralTransform t = visi.
TransformToAncestor
(this);
System\Windows\Controls\SinglePageViewer.cs (1)
840
pageRect = pageViews[index].
TransformToAncestor
(this).TransformBounds(pageRect);
System\Windows\Controls\Stack.cs (1)
256
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
System\Windows\Controls\TextAdaptor.cs (4)
251
GeneralTransform childToParent = renderScope.
TransformToAncestor
(visual);
354
GeneralTransform transform = textView.RenderScope.
TransformToAncestor
(visual).Inverse;
406
GeneralTransform transform = visual.
TransformToAncestor
(presentationSource.RootVisual);
447
GeneralTransform transform = visual.
TransformToAncestor
(presentationSource.RootVisual);
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1505
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
System\Windows\Documents\AdornerLayer.cs (3)
724
GeneralTransform transform = element.
TransformToAncestor
(adornerLayerParent);
854
GeneralTransform transform = oldElement.
TransformToAncestor
(element);
869
GeneralTransform transform = oldElement.
TransformToAncestor
(adornerLayerParent);
System\windows\Documents\CaretElement.cs (2)
396
GeneralTransform transform = _textEditor.TextView.RenderScope.
TransformToAncestor
(scroller);
1072
GeneralTransform transform = _caretElement.
TransformToAncestor
(source.RootVisual);
System\Windows\Documents\CompositionAdorner.cs (1)
136
GeneralTransform transform = AdornedElement.
TransformToAncestor
(parent2d);
System\Windows\Documents\FixedPage.cs (1)
1252
GeneralTransform transform = glyphs.
TransformToAncestor
(_fixedPage);
System\Windows\Documents\FixedPageStructure.cs (5)
319
GeneralTransform transform = image.
TransformToAncestor
(fp);
353
GeneralTransform transform = path.
TransformToAncestor
(fp);
392
GeneralTransform transform = glyphs.
TransformToAncestor
(fp);
542
GeneralTransform g = glyphs.
TransformToAncestor
(fp);
594
GeneralTransform transform = ((Visual)dependencyObject).
TransformToAncestor
(fp);
System\Windows\Documents\FixedSOMElement.cs (1)
83
GeneralTransform transform = glyphs.
TransformToAncestor
(page);
System\Windows\Documents\FixedSOMImage.cs (2)
64
GeneralTransform transform = image.
TransformToAncestor
(page);
85
GeneralTransform trans = path.
TransformToAncestor
(page);
System\Windows\Documents\FixedSOMPageConstructor.cs (1)
424
GeneralTransform trans = glyphs.
TransformToAncestor
(_fixedPage);
System\Windows\Documents\FixedTextBuilder.cs (2)
1289
Transform t = e.
TransformToAncestor
(p) as Transform;
1423
Transform trans = child.
TransformToAncestor
(_fixedPage) as Transform;
System\Windows\Documents\FixedTextView.cs (4)
212
GeneralTransform tran = g.
TransformToAncestor
(this.FixedPage);
218
GeneralTransform tran = image.
TransformToAncestor
(this.FixedPage);
229
GeneralTransform tran = path.
TransformToAncestor
(this.FixedPage);
276
GeneralTransform transform = fh.Element.
TransformToAncestor
(this.FixedPage);
System\Windows\Documents\HighlightVisual.cs (2)
204
GeneralTransform transform = fh.Element.
TransformToAncestor
(_page);
305
GeneralTransform transform = fh.Element.
TransformToAncestor
(_page);
System\Windows\Documents\ImmComposition.cs (2)
679
transform = RenderScope.
TransformToAncestor
(compositionTarget.RootVisual);
788
transform = RenderScope.
TransformToAncestor
(compositionTarget.RootVisual);
System\Windows\Documents\RubberbandSelector.cs (1)
361
GeneralTransform t = g.
TransformToAncestor
(_page);
System\windows\Documents\TextEditorContextMenu.cs (1)
275
GeneralTransform transform = element.
TransformToAncestor
(This.UiScope);
System\windows\Documents\TextEditorDragDrop.cs (1)
461
GeneralTransform transform = target.
TransformToAncestor
(_textEditor.TextView.RenderScope);
System\Windows\Documents\TextPointerBase.cs (1)
911
GeneralTransform transformFromRenderToUiScope = textView.RenderScope.
TransformToAncestor
(/*ancestor:*/templatedParent);
System\Windows\Documents\TextStore.cs (3)
1126
transform = UiScope.
TransformToAncestor
(compositionTarget.RootVisual);
1172
transform = UiScope.
TransformToAncestor
(compositionTarget.RootVisual);
2863
GeneralTransform transform = visual.
TransformToAncestor
(root);
System\Windows\Input\KeyboardNavigation.cs (4)
712
_hostToAdornedElement = ((Visual)contentHost).
TransformToAncestor
(AdornedElement);
2387
GeneralTransform transform = uiElement.
TransformToAncestor
(rootVisual);
2431
GeneralTransform transform = parent.
TransformToAncestor
(rootVisual);
2449
GeneralTransform transform = containingVisual2D.
TransformToAncestor
(rootVisual);
ReachFramework (1)
Serialization\Manager\ReachSerializationUtils.cs (1)
924
GeneralTransform t = contentVisual.
TransformToAncestor
(root);
System.Windows.Controls.Ribbon (10)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
305
GeneralTransform transform = placementTarget.
TransformToAncestor
(itemsPresenter);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
820
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
905
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabsPanel.cs (1)
143
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
254
GeneralTransform transformRibbonTabToRibbon = tabHeader.
TransformToAncestor
(Ribbon);
Microsoft\Windows\Controls\Ribbon\RibbonGroup.cs (2)
1697
GeneralTransform groupToRibbon =
TransformToAncestor
(ribbon);
1728
GeneralTransform groupToPopup =
TransformToAncestor
(ribbonPopupChild);
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (3)
302
GeneralTransform transformToRibbon = this.
TransformToAncestor
(ribbon);
652
GeneralTransform headerToItemsControl =
TransformToAncestor
(tabHeaderItemsControl);
664
GeneralTransform itemsControlToRibbon = tabHeaderItemsControl.
TransformToAncestor
(ribbon);
WindowsFormsIntegration (1)
System\Windows\Integration\HostUtils.cs (1)
114
GeneralTransform transform = element.
TransformToAncestor
(ancestor);