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