33 references to TranslateTransform
PresentationCore (4)
MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
1341TranslateTransform yTranslate = new TranslateTransform(
System\Windows\Media\GlyphRun.cs (1)
1611glyphGeometry.Transform = new TranslateTransform(originX + _baselineOrigin.X, originY + _baselineOrigin.Y);
System\Windows\UIElement.cs (2)
1286t.Children.Add(new TranslateTransform(-(finalRect.Width * origin.X), -(finalRect.Height * origin.Y))); 1291t.Children.Add(new TranslateTransform(finalRect.Width * origin.X,
PresentationFramework (16)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (3)
394TranslateTransform bodyOffset = new TranslateTransform(markerRect.X, markerRect.Y + _topTailHeight + MarkerVerticalSpace); 403TranslateTransform bottomOffset = new TranslateTransform(markerRect.X, markerRect.Bottom - _bottomTailHeight); 405TranslateTransform topOffset = new TranslateTransform(markerRect.X, markerRect.Top + MarkerVerticalSpace);
MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
62desiredTransform.Children.Add(new TranslateTransform(_offsetX, _offsetY));
MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (3)
1037transformations.Children.Add(new TranslateTransform(anchor.X, anchor.Y)); 1039TranslateTransform offsetTransform = new TranslateTransform(0, 0); 1633TranslateTransform _positionTransform = new TranslateTransform(0, 0);
MS\Internal\Documents\TextDocumentView.cs (1)
3462TranslateTransform translateTransform = new TranslateTransform(subpageOffset.X, subpageOffset.Y);
MS\Internal\PtsHost\CellParaClient.cs (2)
333transform = new TranslateTransform(-TextDpi.FromTextDpi(ContentRect.u), -TextDpi.FromTextDpi(ContentRect.v)); 346transform = new TranslateTransform(TextDpi.FromTextDpi(ContentRect.u), TextDpi.FromTextDpi(ContentRect.v));
System\Windows\Controls\StickyNote.cs (1)
1156PositionTransform = new TranslateTransform(currentTransform.X + horizontalChange + _deltaX, currentTransform.Y + verticalChange + _deltaY);
System\Windows\Documents\ColumnResizeAdorner.cs (1)
76translation = new TranslateTransform(_x, _top);
System\Windows\Documents\CompositionAdorner.cs (1)
101translation = new TranslateTransform(-(t.Value.OffsetX), -(t.Value.OffsetY));
System\Windows\FrameworkElement.cs (3)
5257t.Children.Add(new TranslateTransform(-inkRectTransformed.X, -inkRectTransformed.Y)); 5266TranslateTransform backOrigin = new TranslateTransform(-origin.X, -origin.Y); 5276TranslateTransform forwardOrigin = new TranslateTransform(origin.X, origin.Y);
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
311TranslateTransform positionTransform = new TranslateTransform((size.Width - 8.0) * 0.5, 1.0);
PresentationFramework.Aero2 (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
311TranslateTransform positionTransform = new TranslateTransform((size.Width - 8.0) * 0.5, 1.0);
PresentationFramework.AeroLite (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
183TranslateTransform positionTransform = new TranslateTransform((size.Width - 8.0) * 0.5, 1.0);
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
142TranslateTransform positionTransform = new TranslateTransform(size.Width - 15.0, (size.Height - 5.0) * 0.5);
PresentationFramework.Luna (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
170TranslateTransform positionTransform = new TranslateTransform(0.0, size.Height - 3.0); 307TranslateTransform positionTransform = new TranslateTransform(size.Width - 15.0, (size.Height - 5.0) * 0.5);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
290dc.PushTransform(new TranslateTransform(bounds.Left - 1.0, bounds.Top - 1.0));
PresentationFramework.Royale (3)
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (2)
99TranslateTransform positionTransform = new TranslateTransform(0.0, size.Height - 3.0); 229TranslateTransform positionTransform = new TranslateTransform(size.Width - 15.0, (size.Height - 5.0) * 0.5);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\BulletChrome.cs (1)
290dc.PushTransform(new TranslateTransform(bounds.Left - 1.0, bounds.Top - 1.0));
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2519tg.Children.Add(new TranslateTransform(left - pageBounds.Left, top - pageBounds.Top));
ReachFramework (1)
AlphaFlattener\Utility.cs (1)
1795transform = new TranslateTransform(offset.X, offset.Y);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\KeyTipAdorner.cs (1)
385private TranslateTransform _keyTipTransform = new TranslateTransform(0, 0);