4 overrides of TryTransform
PresentationCore (4)
MS\Internal\Media3D\GeneralTransform2DTo3DTo2D.cs (1)
139
public override bool
TryTransform
(Point inPoint, out Point result)
System\Windows\Media\Effects\Effect.cs (1)
200
public override bool
TryTransform
(Point inPoint, out Point result)
System\Windows\Media\GeneralTransformGroup.cs (1)
32
public override bool
TryTransform
(Point inPoint, out Point result)
System\Windows\Media\Transform.cs (1)
120
public override bool
TryTransform
(Point inPoint, out Point result)
73 references to TryTransform
PresentationCore (18)
System\Windows\Input\InputElement.cs (2)
246
else if (gUp.
TryTransform
(ptTranslated, out ptTranslated) == false)
318
if (gDown.
TryTransform
(ptTranslated, out ptTranslated) == false)
System\Windows\Input\Stylus\Common\StylusPlugInCollection.cs (1)
293
_viewToElement.
TryTransform
(ptElement, out ptElement);
System\Windows\Input\Stylus\Common\StylusPointCollection.cs (4)
156
tabletToView.
TryTransform
(p, out p);
384
transform.
TryTransform
(point, out point);
418
transform.
TryTransform
(point, out point);
483
transform.
TryTransform
(p, out p);
System\Windows\Input\Stylus\Common\StylusTouchDeviceBase.cs (1)
71
!elementToRoot.
TryTransform
(position, out rootPoint))
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
1210
transform.
TryTransform
((Point)_rawPosition, out pt);
System\Windows\InterOp\HwndMouseInputProvider.cs (1)
296
gDown?.
TryTransform
(currentPosition, out currentPosition);
System\Windows\Media\Effects\Effect.cs (1)
215
if (innerToUse.
TryTransform
(unitSpace.Value, out unitResult))
System\Windows\Media\GeneralTransform.cs (1)
44
if (!
TryTransform
(point, out transformedPoint))
System\Windows\Media\GeneralTransformGroup.cs (1)
45
if (Children.Internal_GetItem(i).
TryTransform
(inPoint, out result) == false)
System\Windows\Media\Visual.cs (3)
2051
if (effectHitTestInverse.
TryTransform
(unitHitPoint.Value, out transformedPt))
4730
if (gUp == null || !gUp.
TryTransform
(point, out point))
4763
if (gDown == null || !gDown.
TryTransform
(point, out point))
System\Windows\Media3D\GeneralTransform2DTo3D.cs (1)
55
if (!_transform2D.
TryTransform
(inPoint, out final2DPoint))
System\Windows\Media3D\RayHitTestParameters.cs (1)
141
if (gt != null && gt.
TryTransform
(visualPoint, out pointOnChild))
PresentationFramework (51)
MS\Internal\Documents\MultiPageTextView.cs (1)
419
transform.
TryTransform
(point, out point);
MS\Internal\Ink\LassoSelectionBehavior.cs (4)
409
parentTransform.
TryTransform
(new Point(0, 0), out elementPoints.UpperLeft);
410
parentTransform.
TryTransform
(new Point(childElement.RenderSize.Width, 0), out elementPoints.UpperRight);
411
parentTransform.
TryTransform
(new Point(0, childElement.RenderSize.Height), out elementPoints.LowerLeft);
412
parentTransform.
TryTransform
(new Point(childElement.RenderSize.Width, childElement.RenderSize.Height), out elementPoints.LowerRight);
MS\Internal\LayoutDump.cs (5)
225
g.
TryTransform
(point, out point);
257
g.
TryTransform
(point, out point);
307
g.
TryTransform
(point, out point);
562
gt.
TryTransform
(point, out point);
913
g.
TryTransform
(point, out point);
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SafeSecurityHelper.cs (1)
72
transform.
TryTransform
(point, out ptRoot);
System\Windows\Controls\Primitives\BulletDecorator.cs (1)
368
text.TransformToAncestor(element).
TryTransform
(ancestorOffset, out ancestorOffset);
System\Windows\Controls\Primitives\Popup.cs (4)
2361
targetToClientTransform.
TryTransform
(interestPoints[i], out interestPoints[i]);
2414
childToPopupTransform.
TryTransform
(interestPoints[i] - offset, out interestPoints[i]);
3053
transformTo.
TryTransform
(pt, out pt);
3543
if (targetToClientTransform.
TryTransform
(new Point(0, 0), out ptPlacementTargetOrigin))
System\Windows\Controls\Primitives\TextBoxBase.cs (2)
1479
transform?.
TryTransform
(point, out point);
1529
transform?.
TryTransform
(offset, out offset);
System\Windows\Controls\ToolBarTray.cs (1)
660
transform?.
TryTransform
(point, out p);
System\windows\Documents\CaretElement.cs (2)
393
if (transform.
TryTransform
(targetPoint, out targetPoint))
1066
if (!transform.
TryTransform
(win32CaretPoint, out win32CaretPoint))
System\Windows\Documents\CompositionAdorner.cs (2)
249
transform.
TryTransform
(startPoint, out startPoint);
250
transform.
TryTransform
(endPoint, out endPoint);
System\Windows\Documents\FixedPageStructure.cs (1)
403
transform.
TryTransform
(prevTextPoint, out prevTextPoint);
System\Windows\Documents\FixedTextBuilder.cs (1)
854
transform?.
TryTransform
(currentPt, out currentPt);
System\Windows\Documents\FixedTextView.cs (6)
825
tranToGlyphs?.
TryTransform
(transformedPt, out transformedPt);
910
transform.
TryTransform
(pt1, out pt1);
911
transform.
TryTransform
(pt2, out pt2);
1045
transform.
TryTransform
(origin, out origin);
1046
transform.
TryTransform
(bottom, out bottom);
1178
transform?.
TryTransform
(point, out point);
System\Windows\Documents\ImmComposition.cs (6)
656
transform.
TryTransform
(milPointTopLeft, out milPointTopLeft);
657
transform.
TryTransform
(milPointBottomRight, out milPointBottomRight);
658
transform.
TryTransform
(milPointCaret, out milPointCaret);
765
transform.
TryTransform
(milPointTopLeft, out milPointTopLeft);
766
transform.
TryTransform
(milPointBottomRight, out milPointBottomRight);
767
transform.
TryTransform
(milPointCaret, out milPointCaret);
System\Windows\Documents\RubberbandSelector.cs (2)
352
t.
TryTransform
(new Point(boundingRect.Left, centerLine), out pt1);
354
t.
TryTransform
(new Point(boundingRect.Right, centerLine), out pt2);
System\windows\Documents\TextEditorContextMenu.cs (4)
319
transform.
TryTransform
(minPoint, out minPoint);
320
transform.
TryTransform
(maxPoint, out maxPoint);
359
transform.
TryTransform
(minPoint, out minPoint);
360
transform.
TryTransform
(maxPoint, out maxPoint);
System\windows\Documents\TextEditorDragDrop.cs (1)
444
transform.
TryTransform
(point, out point);
System\windows\Documents\TextEditorMouse.cs (1)
135
transform?.
TryTransform
(point, out point);
System\Windows\Documents\TextStore.cs (5)
952
transform?.
TryTransform
(milPoint, out milPoint);
1114
transform.
TryTransform
(milPointTopLeft, out milPointTopLeft);
1115
transform.
TryTransform
(milPointBottomRight, out milPointBottomRight);
1160
transform.
TryTransform
(milPointTopLeft, out milPointTopLeft);
1161
transform.
TryTransform
(milPointBottomRight, out milPointBottomRight);
System\Windows\Window.cs (1)
4987
if (transfromFromWindow == null || transfromFromWindow.
TryTransform
(ptLogicalUnits, out mousePositionWRTResizeGripControl) == false)
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonTabHeader.cs (4)
300
transformToRibbon.
TryTransform
(leftBottom, out leftBottom);
301
transformToRibbon.
TryTransform
(rightBottom, out rightBottom);
304
transformToRibbonTab.
TryTransform
(leftBottom, out leftBottom);
305
transformToRibbonTab.
TryTransform
(rightBottom, out rightBottom);