25 references to Offset
PresentationCore (1)
Core\CSharp\System\Windows\Media\TranslateTransform.cs (1)
91
rect.
Offset
(X, Y);
PresentationFramework (20)
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (1)
334
newRect.
Offset
(x, y);
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
6333
childRect.
Offset
(-margin.Left, -margin.Top);
src\Framework\System\Windows\Documents\FixedHighlight.cs (1)
142
designRect.
Offset
(g.OriginX, g.OriginY);
src\Framework\System\Windows\Documents\FixedSOMElement.cs (1)
86
alignmentBox.
Offset
(glyphs.OriginX, glyphs.OriginY);
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (1)
431
alignmentBox.
Offset
(glyphs.OriginX, glyphs.OriginY);
src\Framework\System\Windows\Documents\FixedSOMTextRun.cs (4)
62
thisRect.
Offset
(_mat.OffsetX, _mat.OffsetY);
65
otherRect.
Offset
(_mat.OffsetX, _mat.OffsetY);
68
thisRect.
Offset
(_mat.OffsetX, _mat.OffsetY);
69
otherRect.
Offset
(otherRun.Matrix.OffsetX, otherRun.Matrix.OffsetY);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (3)
872
box1.
Offset
(glyph1.OriginX, glyph1.OriginY);
874
box2.
Offset
(glyph2.OriginX, glyph2.OriginY);
1322
designRect.
Offset
(run.BaselineOrigin.X, run.BaselineOrigin.Y);
src\Framework\System\Windows\Documents\FixedTextView.cs (3)
858
alignmentRect.
Offset
(startGlyphs.OriginX, startGlyphs.OriginY);
947
box.
Offset
(g.OriginX, g.OriginY);
1014
designRect.
Offset
(run.BaselineOrigin.X, run.BaselineOrigin.Y);
src\Framework\System\Windows\Documents\Glyphs.cs (1)
168
designRect.
Offset
(_glyphRunOrigin.X, _glyphRunOrigin.Y);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
452
boundingRect.
Offset
(run.BaselineOrigin.X, run.BaselineOrigin.Y);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (3)
1247
topRightRegionRect.
Offset
(windowSize.Width / 2 - topRightRadius, 0);
1255
bottomLeftRegionRect.
Offset
(0, windowSize.Height / 2 - bottomLeftRadius);
1263
bottomRightRegionRect.
Offset
(windowSize.Width / 2 - bottomRightRadius, windowSize.Height / 2 - bottomRightRadius);
UIAutomationClientsideProviders (2)
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (2)
298
rect.
Offset
(mapClientToScreen.X, mapClientToScreen.Y);
739
rect.
Offset
(mapClientToScreen.X, mapClientToScreen.Y);
WindowsBase (2)
Base\System\Windows\Rect.cs (2)
627
rect.
Offset
(offsetVector.X, offsetVector.Y);
637
rect.
Offset
(offsetX, offsetY);