95 references to TransformToAncestor
PresentationCore (7)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
142
GeneralTransform g = element.
TransformToAncestor
(parent);
Core\CSharp\MS\Internal\Media3D\GeneralTransform2Dto3Dto2D.cs (1)
112
transformGroup.Children.Add(descendentVisual.
TransformToAncestor
(visual3Dchild));
Core\CSharp\System\Windows\Automation\Peers\UIElementAutomationPeer.cs (1)
310
GeneralTransform transform = owner.
TransformToAncestor
(visualParent).Inverse;
Core\CSharp\System\Windows\Media\Visual.cs (2)
4737
GeneralTransform transform2D = this.
TransformToAncestor
(containingVisual3D.Visual);
4795
GeneralTransform gUp = this.
TransformToAncestor
(inputSource.RootVisual);
Core\CSharp\System\Windows\Media3D\Visual3D.cs (1)
1849
GeneralTransform transformIn2D = containingViewport.
TransformToAncestor
(ancestor);
Shared\MS\Internal\PointUtil.cs (1)
251
GeneralTransform transformElementToRoot = element.
TransformToAncestor
(presentationSource.RootVisual);
PresentationFramework (82)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
1854
GeneralTransform transform = data.Visual.
TransformToAncestor
(this);
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (3)
578
Transform transform = _page.Visual.
TransformToAncestor
(_owner) as Transform;
593
GeneralTransform transform = _page.Visual.
TransformToAncestor
(_owner);
608
GeneralTransform transform = _page.Visual.
TransformToAncestor
(_owner);
src\Framework\MS\Internal\Documents\DocumentViewerHelper.cs (2)
443
GeneralTransform transform = textView.RenderScope.
TransformToAncestor
(viewer);
481
GeneralTransform transform = originalVisual.
TransformToAncestor
(visual).Inverse;
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (6)
177
Transform transform = _pageTextViews[i].RenderScope.
TransformToAncestor
(_renderScope).AffineTransform;
421
GeneralTransform transform = _renderScope.
TransformToAncestor
(_viewer);
1256
Transform transform = innerScope.
TransformToAncestor
(_renderScope) as Transform;
1272
GeneralTransform transform = innerScope.
TransformToAncestor
(_renderScope);
1287
GeneralTransform transform = innerScope.
TransformToAncestor
(_renderScope);
1301
GeneralTransform transform = innerScope.
TransformToAncestor
(_renderScope);
src\Framework\MS\Internal\Documents\ScrollData.cs (1)
187
GeneralTransform childTransform = visual.
TransformToAncestor
(owner);
src\Framework\MS\Internal\Helper.cs (1)
1204
Rect itemsRect = itemsHost.
TransformToAncestor
(virtualizingElement).TransformBounds(new Rect(new Point(), itemsHost.DesiredSize));
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (2)
395
GeneralTransform elementToCanvas = originalElement.
TransformToAncestor
(_inkCanvas.InnerCanvas);
1092
GeneralTransform elementToCanvas = element.
TransformToAncestor
(innerCanvas);
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (1)
415
GeneralTransform parentTransform = childElement.
TransformToAncestor
(canvas);
src\Framework\MS\Internal\LayoutDump.cs (5)
227
GeneralTransform g = visual.
TransformToAncestor
(parent);
259
GeneralTransform g = element.
TransformToAncestor
(parent);
309
GeneralTransform g = page.Visual.
TransformToAncestor
(parent);
565
GeneralTransform gt = documentPage.Visual.
TransformToAncestor
(fdView);
916
GeneralTransform g = visual.
TransformToAncestor
(visualParent);
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (3)
294
GeneralTransform transform = this.PageVisual.Child.
TransformToAncestor
(this.PageVisual);
347
GeneralTransform transform = this.PageVisual.Child.
TransformToAncestor
(this.PageVisual);
652
GeneralTransform transform = this.PageVisual.Child.
TransformToAncestor
(this.PageVisual);
src\Framework\System\Windows\Automation\Peers\DocumentAutomationPeer.cs (1)
265
GeneralTransform transform = textView.RenderScope.
TransformToAncestor
(visual).Inverse;
src\Framework\System\Windows\Automation\Peers\TextElementAutomationPeer.cs (1)
196
GeneralTransform transform = textView.RenderScope.
TransformToAncestor
(visual).Inverse;
src\Framework\System\Windows\Controls\DataGrid.cs (2)
4100
GeneralTransform transform = row.
TransformToAncestor
(InternalScrollHost);
6561
GeneralTransform transform = cell.
TransformToAncestor
(itemsHost);
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
1993
cellsPanelOffset = horizontalOffset +
TransformToAncestor
(scrollViewer).Transform(new Point()).X;
src\Framework\System\Windows\Controls\FlowDocumentScrollViewer.cs (2)
1145
GeneralTransform t = RenderScope.
TransformToAncestor
(this);
1173
GeneralTransform t = RenderScope.
TransformToAncestor
(this);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
491
itemBounds = _viewItem.
TransformToAncestor
(_viewPort).TransformBounds(itemBounds);
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
2641
elementBounds = element.
TransformToAncestor
(viewportElement).TransformBounds(elementBounds);
3016
elementBounds = element.
TransformToAncestor
(viewPort).TransformBounds(elementBounds);
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (1)
376
text.
TransformToAncestor
(element).TryTransform(ancestorOffset, out ancestorOffset);
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (1)
983
GeneralTransform transform = currentHeader.
TransformToAncestor
(this);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (1)
1192
GeneralTransform transform = targetObject.
TransformToAncestor
(this);
src\Framework\System\Windows\Controls\Primitives\Popup.cs (3)
1830
TransformToAncestor
(rootVisual).AffineTransform.Value * //Transform between popup and root (Affine only)
2442
visualToClientTransform.Children.Add(visual.
TransformToAncestor
(rootVisual));
3106
GeneralTransform transformTo = targetVisual.
TransformToAncestor
(rootVisual);
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
591
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
2321
GeneralTransform t = visi.
TransformToAncestor
(this);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
847
pageRect = pageViews[index].
TransformToAncestor
(this).TransformBounds(pageRect);
src\Framework\System\Windows\Controls\Stack.cs (1)
262
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
src\Framework\System\Windows\Controls\TextAdaptor.cs (4)
259
GeneralTransform childToParent = renderScope.
TransformToAncestor
(visual);
333
GeneralTransform transform = textView.RenderScope.
TransformToAncestor
(visual).Inverse;
386
GeneralTransform transform = visual.
TransformToAncestor
(presentationSource.RootVisual);
428
GeneralTransform transform = visual.
TransformToAncestor
(presentationSource.RootVisual);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
1456
GeneralTransform childTransform = visual.
TransformToAncestor
(this);
src\Framework\System\Windows\Documents\AdornerLayer.cs (3)
739
GeneralTransform transform = element.
TransformToAncestor
(adornerLayerParent);
869
GeneralTransform transform = oldElement.
TransformToAncestor
(element);
884
GeneralTransform transform = oldElement.
TransformToAncestor
(adornerLayerParent);
src\Framework\System\windows\Documents\CaretElement.cs (2)
399
GeneralTransform transform = _textEditor.TextView.RenderScope.
TransformToAncestor
(scroller);
1105
GeneralTransform transform = _caretElement.
TransformToAncestor
(source.RootVisual);
src\Framework\System\Windows\Documents\CompositionAdorner.cs (1)
138
GeneralTransform transform = AdornedElement.
TransformToAncestor
(parent2d);
src\Framework\System\Windows\Documents\FixedSOMElement.cs (1)
87
GeneralTransform transform = glyphs.
TransformToAncestor
(page);
src\Framework\System\Windows\Documents\FixedSOMImage.cs (2)
69
GeneralTransform transform = image.
TransformToAncestor
(page);
90
GeneralTransform trans = path.
TransformToAncestor
(page);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (1)
433
GeneralTransform trans = glyphs.
TransformToAncestor
(_fixedPage);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (2)
1316
Transform t = e.
TransformToAncestor
(p) as Transform;
1451
Transform trans = child.
TransformToAncestor
(_fixedPage) as Transform;
src\Framework\System\Windows\Documents\FixedTextView.cs (4)
220
GeneralTransform tran = g.
TransformToAncestor
(this.FixedPage);
226
GeneralTransform tran = image.
TransformToAncestor
(this.FixedPage);
237
GeneralTransform tran = path.
TransformToAncestor
(this.FixedPage);
284
GeneralTransform transform = fh.Element.
TransformToAncestor
(this.FixedPage);
src\Framework\System\Windows\Documents\HighlightVisual.cs (2)
207
GeneralTransform transform = fh.Element.
TransformToAncestor
(_page);
309
GeneralTransform transform = fh.Element.
TransformToAncestor
(_page);
src\Framework\System\Windows\Documents\ImmComposition.cs (2)
775
transform = RenderScope.
TransformToAncestor
(compositionTarget.RootVisual);
900
transform = RenderScope.
TransformToAncestor
(compositionTarget.RootVisual);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
459
GeneralTransform t = g.
TransformToAncestor
(_page);
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (1)
289
GeneralTransform transform = element.
TransformToAncestor
(This.UiScope);
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
473
GeneralTransform transform = target.
TransformToAncestor
(_textEditor.TextView.RenderScope);
src\Framework\System\Windows\Documents\TextPointerBase.cs (1)
916
GeneralTransform transformFromRenderToUiScope = textView.RenderScope.
TransformToAncestor
(/*ancestor:*/templatedParent);
src\Framework\System\Windows\Documents\TextStore.cs (3)
987
transform = UiScope.
TransformToAncestor
(compositionTarget.RootVisual);
1031
transform = UiScope.
TransformToAncestor
(compositionTarget.RootVisual);
2747
GeneralTransform transform = visual.
TransformToAncestor
(root);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (4)
760
_hostToAdornedElement = ((Visual)contentHost).
TransformToAncestor
(AdornedElement);
2474
GeneralTransform transform = uiElement.
TransformToAncestor
(rootVisual);
2518
GeneralTransform transform = parent.
TransformToAncestor
(rootVisual);
2536
GeneralTransform transform = containingVisual2D.
TransformToAncestor
(rootVisual);
src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
140
transform = relativeTo.
TransformToAncestor
(source.RootVisual);
System.Activities.Presentation (6)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
215
transform = (MatrixTransform)target.
TransformToAncestor
(commonRoot);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
218
MatrixTransform transform = (MatrixTransform)target.
TransformToAncestor
(commonRoot);
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
199
GeneralTransform transform = view.DragHandle.
TransformToAncestor
(this.Designer);
System.Activities.Presentation\System\Activities\Presentation\View\ViewUtilities.cs (1)
238
return (rootVisual != null) ? visual.
TransformToAncestor
(rootVisual) : null;
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (1)
473
GeneralTransform generalTransform1 = this.
TransformToAncestor
((Visual)this.DesignerRoot);
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (1)
798
GeneralTransform transform = this.DragHandle.
TransformToAncestor
(this);