4 overrides of TryTransform
PresentationCore (4)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
144public override bool TryTransform(Point inPoint, out Point result)
System\Windows\Media\Effects\Effect.cs (1)
201public override bool TryTransform(Point inPoint, out Point result)
System\Windows\Media\GeneralTransformGroup.cs (1)
33public override bool TryTransform(Point inPoint, out Point result)
System\Windows\Media\Transform.cs (1)
121public override bool TryTransform(Point inPoint, out Point result)
73 references to TryTransform
PresentationCore (18)
System\Windows\Input\InputElement.cs (2)
247else if (gUp.TryTransform(ptTranslated, out ptTranslated) == false) 319if (gDown.TryTransform(ptTranslated, out ptTranslated) == false)
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (1)
294_viewToElement.TryTransform(ptElement, out ptElement);
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (4)
157tabletToView.TryTransform(p, out p); 385transform.TryTransform(point, out point); 419transform.TryTransform(point, out point); 484transform.TryTransform(p, out p);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
72!elementToRoot.TryTransform(position, out rootPoint))
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1208transform.TryTransform((Point)_rawPosition, out pt);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
299gDown.TryTransform(currentPosition, out currentPosition);
System\Windows\Media\Effects\Effect.cs (1)
216if (innerToUse.TryTransform(unitSpace.Value, out unitResult))
System\Windows\Media\GeneralTransform.cs (1)
45if (!TryTransform(point, out transformedPoint))
System\Windows\Media\GeneralTransformGroup.cs (1)
46if (Children.Internal_GetItem(i).TryTransform(inPoint, out result) == false)
System\Windows\Media\Visual.cs (3)
2052if (effectHitTestInverse.TryTransform(unitHitPoint.Value, out transformedPt)) 4734if (gUp == null || !gUp.TryTransform(point, out point)) 4767if (gDown == null || !gDown.TryTransform(point, out point))
System\Windows\Media3D\GeneralTransform2DTo3D.cs (1)
56if (!_transform2D.TryTransform(inPoint, out final2DPoint))
System\Windows\Media3D\RayHitTestParameters.cs (1)
142if (gt != null && gt.TryTransform(visualPoint, out pointOnChild))
PresentationFramework (51)
MS\Internal\Documents\MultiPageTextView.cs (1)
420transform.TryTransform(point, out point);
MS\Internal\Ink\LassoSelectionBehavior.cs (4)
407parentTransform.TryTransform(new Point(0, 0), out elementPoints.UpperLeft); 408parentTransform.TryTransform(new Point(childElement.RenderSize.Width, 0), out elementPoints.UpperRight); 409parentTransform.TryTransform(new Point(0, childElement.RenderSize.Height), out elementPoints.LowerLeft); 410parentTransform.TryTransform(new Point(childElement.RenderSize.Width, childElement.RenderSize.Height), out elementPoints.LowerRight);
MS\Internal\LayoutDump.cs (5)
224g.TryTransform(point, out point); 256g.TryTransform(point, out point); 306g.TryTransform(point, out point); 561gt.TryTransform(point, out point); 912g.TryTransform(point, out point);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
103transform.TryTransform(point, out ptRoot);
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
369text.TransformToAncestor(element).TryTransform(ancestorOffset, out ancestorOffset);
System\Windows\Controls\Primitives\Popup.cs (4)
2349targetToClientTransform.TryTransform(interestPoints[i], out interestPoints[i]); 2402childToPopupTransform.TryTransform(interestPoints[i] - offset, out interestPoints[i]); 3045transformTo.TryTransform(pt, out pt); 3539if (targetToClientTransform.TryTransform(new Point(0, 0), out ptPlacementTargetOrigin))
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1534transform.TryTransform(point, out point); 1587transform.TryTransform(offset, out offset);
System\Windows\Controls\ToolBarTray.cs (1)
663transform.TryTransform(point, out p);
System\windows\Documents\CaretElement.cs (2)
395if (transform.TryTransform(targetPoint, out targetPoint)) 1070if (!transform.TryTransform(win32CaretPoint, out win32CaretPoint))
System\Windows\Documents\CompositionAdorner.cs (2)
250transform.TryTransform(startPoint, out startPoint); 251transform.TryTransform(endPoint, out endPoint);
System\Windows\Documents\FixedPageStructure.cs (1)
404transform.TryTransform(prevTextPoint, out prevTextPoint);
System\Windows\Documents\FixedTextBuilder.cs (1)
857transform.TryTransform(currentPt, out currentPt);
System\Windows\Documents\FixedTextView.cs (6)
833tranToGlyphs.TryTransform(transformedPt, out transformedPt); 919transform.TryTransform(pt1, out pt1); 920transform.TryTransform(pt2, out pt2); 1054transform.TryTransform(origin, out origin); 1055transform.TryTransform(bottom, out bottom); 1189transform.TryTransform(point, out point);
System\Windows\Documents\ImmComposition.cs (6)
672transform.TryTransform(milPointTopLeft, out milPointTopLeft); 673transform.TryTransform(milPointBottomRight, out milPointBottomRight); 674transform.TryTransform(milPointCaret, out milPointCaret); 781transform.TryTransform(milPointTopLeft, out milPointTopLeft); 782transform.TryTransform(milPointBottomRight, out milPointBottomRight); 783transform.TryTransform(milPointCaret, out milPointCaret);
System\Windows\Documents\RubberbandSelector.cs (2)
354t.TryTransform(new Point(boundingRect.Left, centerLine), out pt1); 356t.TryTransform(new Point(boundingRect.Right, centerLine), out pt2);
System\windows\Documents\TextEditorContextMenu.cs (4)
320transform.TryTransform(minPoint, out minPoint); 321transform.TryTransform(maxPoint, out maxPoint); 360transform.TryTransform(minPoint, out minPoint); 361transform.TryTransform(maxPoint, out maxPoint);
System\windows\Documents\TextEditorDragDrop.cs (1)
445transform.TryTransform(point, out point);
System\windows\Documents\TextEditorMouse.cs (1)
138transform.TryTransform(point, out point);
System\Windows\Documents\TextStore.cs (5)
955transform.TryTransform(milPoint, out milPoint); 1118transform.TryTransform(milPointTopLeft, out milPointTopLeft); 1119transform.TryTransform(milPointBottomRight, out milPointBottomRight); 1164transform.TryTransform(milPointTopLeft, out milPointTopLeft); 1165transform.TryTransform(milPointBottomRight, out milPointBottomRight);
System\Windows\Window.cs (1)
5010if (transfromFromWindow == null || transfromFromWindow.TryTransform(ptLogicalUnits, out mousePositionWRTResizeGripControl) == false)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
301transformToRibbon.TryTransform(leftBottom, out leftBottom); 302transformToRibbon.TryTransform(rightBottom, out rightBottom); 305transformToRibbonTab.TryTransform(leftBottom, out leftBottom); 306transformToRibbonTab.TryTransform(rightBottom, out rightBottom);