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