4 overrides of TryTransform
PresentationCore (4)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
160public override bool TryTransform(Point inPoint, out Point result)
System\Windows\Media\Effects\Effect.cs (1)
208public override bool TryTransform(Point inPoint, out Point result)
System\Windows\Media\GeneralTransformGroup.cs (1)
50public override bool TryTransform(Point inPoint, out Point result)
System\Windows\Media\Transform.cs (1)
133public override bool TryTransform(Point inPoint, out Point result)
73 references to TryTransform
PresentationCore (18)
System\Windows\Input\InputElement.cs (2)
251else if (gUp.TryTransform(ptTranslated, out ptTranslated) == false) 323if (gDown.TryTransform(ptTranslated, out ptTranslated) == false)
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (1)
303_viewToElement.TryTransform(ptElement, out ptElement);
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (4)
165tabletToView.TryTransform(p, out p); 393transform.TryTransform(point, out point); 427transform.TryTransform(point, out point); 492transform.TryTransform(p, out p);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
74!elementToRoot.TryTransform(position, out rootPoint))
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1211transform.TryTransform((Point)_rawPosition, out pt);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
303gDown.TryTransform(currentPosition, out currentPosition);
System\Windows\Media\Effects\Effect.cs (1)
223if (innerToUse.TryTransform(unitSpace.Value, out unitResult))
System\Windows\Media\GeneralTransform.cs (1)
58if (!TryTransform(point, out transformedPoint))
System\Windows\Media\GeneralTransformGroup.cs (1)
63if (Children.Internal_GetItem(i).TryTransform(inPoint, out result) == false)
System\Windows\Media\Visual.cs (3)
2068if (effectHitTestInverse.TryTransform(unitHitPoint.Value, out transformedPt)) 4750if (gUp == null || !gUp.TryTransform(point, out point)) 4783if (gDown == null || !gDown.TryTransform(point, out point))
System\Windows\Media3D\GeneralTransform2DTo3D.cs (1)
67if (!_transform2D.TryTransform(inPoint, out final2DPoint))
System\Windows\Media3D\RayHitTestParameters.cs (1)
147if (gt != null && gt.TryTransform(visualPoint, out pointOnChild))
PresentationFramework (51)
MS\Internal\Documents\MultiPageTextView.cs (1)
422transform.TryTransform(point, out point);
MS\Internal\Ink\LassoSelectionBehavior.cs (4)
416parentTransform.TryTransform(new Point(0, 0), out elementPoints.UpperLeft); 417parentTransform.TryTransform(new Point(childElement.RenderSize.Width, 0), out elementPoints.UpperRight); 418parentTransform.TryTransform(new Point(0, childElement.RenderSize.Height), out elementPoints.LowerLeft); 419parentTransform.TryTransform(new Point(childElement.RenderSize.Width, childElement.RenderSize.Height), out elementPoints.LowerRight);
MS\Internal\LayoutDump.cs (5)
227g.TryTransform(point, out point); 259g.TryTransform(point, out point); 309g.TryTransform(point, out point); 564gt.TryTransform(point, out point); 915g.TryTransform(point, out point);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
107transform.TryTransform(point, out ptRoot);
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
375text.TransformToAncestor(element).TryTransform(ancestorOffset, out ancestorOffset);
System\Windows\Controls\Primitives\Popup.cs (4)
2356targetToClientTransform.TryTransform(interestPoints[i], out interestPoints[i]); 2409childToPopupTransform.TryTransform(interestPoints[i] - offset, out interestPoints[i]); 3052transformTo.TryTransform(pt, out pt); 3546if (targetToClientTransform.TryTransform(new Point(0, 0), out ptPlacementTargetOrigin))
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1543transform.TryTransform(point, out point); 1596transform.TryTransform(offset, out offset);
System\Windows\Controls\ToolBarTray.cs (1)
671transform.TryTransform(point, out p);
System\windows\Documents\CaretElement.cs (2)
398if (transform.TryTransform(targetPoint, out targetPoint)) 1073if (!transform.TryTransform(win32CaretPoint, out win32CaretPoint))
System\Windows\Documents\CompositionAdorner.cs (2)
253transform.TryTransform(startPoint, out startPoint); 254transform.TryTransform(endPoint, out endPoint);
System\Windows\Documents\FixedPageStructure.cs (1)
410transform.TryTransform(prevTextPoint, out prevTextPoint);
System\Windows\Documents\FixedTextBuilder.cs (1)
863transform.TryTransform(currentPt, out currentPt);
System\Windows\Documents\FixedTextView.cs (6)
841tranToGlyphs.TryTransform(transformedPt, out transformedPt); 927transform.TryTransform(pt1, out pt1); 928transform.TryTransform(pt2, out pt2); 1062transform.TryTransform(origin, out origin); 1063transform.TryTransform(bottom, out bottom); 1197transform.TryTransform(point, out point);
System\Windows\Documents\ImmComposition.cs (6)
680transform.TryTransform(milPointTopLeft, out milPointTopLeft); 681transform.TryTransform(milPointBottomRight, out milPointBottomRight); 682transform.TryTransform(milPointCaret, out milPointCaret); 789transform.TryTransform(milPointTopLeft, out milPointTopLeft); 790transform.TryTransform(milPointBottomRight, out milPointBottomRight); 791transform.TryTransform(milPointCaret, out milPointCaret);
System\Windows\Documents\RubberbandSelector.cs (2)
364t.TryTransform(new Point(boundingRect.Left, centerLine), out pt1); 366t.TryTransform(new Point(boundingRect.Right, centerLine), out pt2);
System\windows\Documents\TextEditorContextMenu.cs (4)
322transform.TryTransform(minPoint, out minPoint); 323transform.TryTransform(maxPoint, out maxPoint); 362transform.TryTransform(minPoint, out minPoint); 363transform.TryTransform(maxPoint, out maxPoint);
System\windows\Documents\TextEditorDragDrop.cs (1)
462transform.TryTransform(point, out point);
System\windows\Documents\TextEditorMouse.cs (1)
152transform.TryTransform(point, out point);
System\Windows\Documents\TextStore.cs (5)
966transform.TryTransform(milPoint, out milPoint); 1129transform.TryTransform(milPointTopLeft, out milPointTopLeft); 1130transform.TryTransform(milPointBottomRight, out milPointBottomRight); 1175transform.TryTransform(milPointTopLeft, out milPointTopLeft); 1176transform.TryTransform(milPointBottomRight, out milPointBottomRight);
System\Windows\Window.cs (1)
5023if (transfromFromWindow == null || transfromFromWindow.TryTransform(ptLogicalUnits, out mousePositionWRTResizeGripControl) == false)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
303transformToRibbon.TryTransform(leftBottom, out leftBottom); 304transformToRibbon.TryTransform(rightBottom, out rightBottom); 307transformToRibbonTab.TryTransform(leftBottom, out leftBottom); 308transformToRibbonTab.TryTransform(rightBottom, out rightBottom);