126 writes to Y
PresentationCore (20)
Core\CSharp\MS\Internal\Ink\InkSerializedFormat\InkSerializer.cs (1)
1377_inkSpaceRectangle.Y = data;
Core\CSharp\MS\Internal\TextFormatting\FormattedTextSymbols.cs (1)
276boundingBox.Y += glyphRun.BaselineOrigin.Y;
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (1)
2700boundingBox.Y -= origin.Y;
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (1)
2672objectBounds.Y += baselineOrigin.Y;
Core\CSharp\MS\Internal\TextFormatting\LineServicesRun.cs (1)
271inkBoundingBox.Y += glyphRun.BaselineOrigin.Y;
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
642boundingBox.Y -= origin.Y; 1838inkBoundingBox.Y += glyphRun.BaselineOrigin.Y;
Core\CSharp\System\Windows\LayoutManager.cs (1)
485arrangeRect.X = arrangeRect.Y = 0;
Core\CSharp\System\Windows\Media\BoundsDrawingContextWalker.cs (1)
608bounds.Y = Double.NegativeInfinity;
Core\CSharp\System\Windows\Media\FormattedText.cs (1)
1698rect.Y += lineOrigin.Y;
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (1)
218boundingRect.Y -= 0.5*strokeThickness;
Core\CSharp\System\Windows\Media\ScaleTransform.cs (2)
113rect.Y -= centerY; 121rect.Y += centerY;
Core\CSharp\System\Windows\Media\Visual.cs (6)
429bboxSubgraph.Y = Double.NegativeInfinity; 610bboxSubgraph.Y += _offset.Y; 624bboxSubgraph.Y = Double.NegativeInfinity; 1082_bboxSubgraph.Y = Double.NegativeInfinity; 1144bboxSubgraph.Y += _offset.Y; 1157bboxSubgraph.Y = Double.NegativeInfinity;
Shared\MS\Internal\PointUtil.cs (1)
465rect.Y = rc.top;
PresentationFramework (90)
src\Framework\MS\Internal\Documents\ColumnResult.cs (2)
63_layoutBox.Y += contentOffset.Y; 88_layoutBox.Y += contentOffset.Y;
src\Framework\MS\Internal\Documents\ScrollData.cs (4)
193rectangle.Y += viewport.Y; 215viewport.Y = minY; 220rectangle.Y = viewport.Y; 226rectangle.Y -= viewport.Y;
src\Framework\MS\Internal\Documents\TextBoxLine.cs (1)
282rect.Y += yOffset;
src\Framework\MS\Internal\Documents\TextBoxView.cs (3)
654rect.Y += lineIndex * _lineHeight; 2030rect.Y -= _scrollData.VerticalOffset; 2034rect.Y += this.VerticalAlignmentOffset;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (1)
1212rect.Y += subpageParagraphResult.ContentOffset.Y;
src\Framework\MS\Internal\Documents\TextViewBase.cs (2)
146rect.Y += viewport.Y; 166rect.Y -= minY;
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (1)
362newRect.Y += extendBy;
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (2)
506_rectTable.Y += ptAdjust.Y; 509_rectCell.Y += ptAdjust.Y;
src\Framework\MS\Internal\PtsHost\Line.cs (1)
535rect.Y += yOffset;
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (1)
567rect.Y += yOffset;
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
763rowRect.Y = rowTop; 1971rowRect.Y = rowGroupTop; 1989rowRect.Y = rowGroupTop; 2021rowRect.Y = rowTop;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (6)
1883rect.Y += TextDpi.FromTextDpi(lineDesc.vrStart); 1985rect.Y += TextDpi.FromTextDpi(lineDesc.vrStart); 2301lineRect.Y = lineRect.Y - lineTopSpace; 2342r.Y = r.Y - lineTopSpace; 2412elementRect.Y = elementRect.Y - lineTopSpace; 2452r.Y = r.Y - lineTopSpace;
src\Framework\MS\Internal\Text\Line.cs (1)
194rect.Y += yOffset;
src\Framework\System\Windows\Controls\DataGridCell.cs (1)
879rect.Y = RenderSize.Height - thickness;
src\Framework\System\Windows\Controls\DockPanel.cs (1)
322rcChild.Y = Math.Max(0.0, arrangeSize.Height - accumulatedBottom);
src\Framework\System\Windows\Controls\Primitives\DataGridCellsPresenter.cs (1)
488rect.Y = RenderSize.Height - thickness;
src\Framework\System\Windows\Controls\Primitives\DataGridDetailsPresenter.cs (1)
296rect.Y = RenderSize.Height - thickness;
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (5)
496childRect.Y = -VerticalOffset; 605rectangle.Y += viewport.Y; 617viewport.Y = minY; 625rectangle.Y -= viewport.Y; 634rectangle.Y -= viewport.Y;
src\Framework\System\Windows\Controls\Primitives\TextBoxBase.cs (1)
1628rect.Y -= offset.Y;
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (1)
318rcChild.Y += previousChildSize;
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (1)
235childBounds.Y += childBounds.Height;
src\Framework\System\Windows\Controls\Stack.cs (5)
744rcChild.Y = -1.0 * scrollData.ComputedOffset.Y; 749rcChild.Y = ComputePhysicalFromLogicalOffset(arrangeElement, scrollData.ComputedOffset.Y, false); 771rcChild.Y += previousChildSize; 916newRect.Y = targetRectOffset; 987newRect.Y = childOffsetWithinViewport;
src\Framework\System\Windows\Controls\StickyNote.cs (2)
946newRectangle.Y = newRectangle.Y < 0d ? 0d : newRectangle.Y; 972newRectangle.Y = 0d;
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2327rect.Y += contentOffset.Y + lineOffset;
src\Framework\System\Windows\Controls\ToolBarTray.cs (3)
447rcChild.Y = 0; 458rcChild.Y += toolBarArrangeSize.Height; 462rcChild.Y += bandThickness;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (33)
4485viewport.Y = offsetList[offsetList.Count-1]; 4525extendedViewport.Y += viewport.Y - _viewport.Y; 4796extendedViewport.Y = pixelSize - pixelSizeBeforeViewport; 4800extendedViewport.Y -= pixelSizeBeforeViewport; 4813extendedViewport.Y = 0.0; 4834extendedViewport.Y = logicalSize - logicalSizeBeforeViewport; 4838extendedViewport.Y -= logicalSizeBeforeViewport; 4848extendedViewport.Y = 0.0; 4889viewport.Y = ScrollContentPresenter.CoerceOffset(viewport.Y, extent.Height, viewport.Height); 4892viewport.Y = ScrollContentPresenter.CoerceOffset(viewport.Y - 1, extent.Height, viewport.Height); 5060viewport.Y -= IsPixelBased ? pixelSize.Height : logicalSize.Height; 5186viewport.Y -= IsPixelBased ? inset.Top : isHeaderBeforeItems ? 1 : 0; 6635childViewport.Y = (IsPixelBased ? stackPixelSizeInCacheBeforeViewport.Height : stackLogicalSizeInCacheBeforeViewport.Height) + containerSize.Height; 6640childViewport.Y = Math.Min(childViewport.Y, 0) - 6648childViewport.Y -= firstItemInViewportOffset; 7010adjustedChildViewport.Y -= IsPixelBased ? frontPixelSize.Height + itemDesiredSizes.PixelSize.Height 8265rcChild.Y = 0.0; 8279rcChild.Y = -1.0 * _scrollData._computedOffset.Y; 8283rcChild.Y = -1.0 * 8291rcChild.Y = -1.0 * _scrollData._computedOffset.Y; 8305rcChild.Y += _firstItemInExtendedViewportOffset; 8316rcChild.Y += _pixelDistanceToFirstContainerInExtendedViewport; 8418rcChild.Y += previousChildSize.Height; 8477rcChild.Y = previousChildOffset.Y; 8491rcChild.Y = previousChildOffset.Y; 8529rcChild.Y = previousChildOffset.Y - distance; 8543rcChild.Y = previousChildOffset.Y + distance; 8553rcChild.Y -= childDesiredSize.Height; 8557rcChild.Y += previousChildSize.Height; 9678_viewport.Y = newOffset; 9679_extendedViewport.Y += delta; 11067newRect.Y = targetRectOffset; 11118newRect.Y = childOffsetWithinViewport;
src\Framework\System\Windows\Documents\Glyphs.cs (1)
129inkBoundingBox.Y += _glyphRunOrigin.Y;
src\Framework\System\windows\Documents\TextSelection.cs (2)
2249caretRectangle.Y += caretRectangle.Height - caretHeight; 2259caretRectangle.Y += caretRectangle.Height - Math.Abs(bottom.Y - top.Y);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
2610rect.Y = rect.Bottom - height;
src\Framework\System\Windows\Window.cs (1)
8470Y = lprcMonitor.top / dpiScaleY,
PresentationFramework.Aero (4)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
461childArrangeRect.Y = (finalSize.Height - childArrangeRect.Height) * 0.5;
Microsoft\Windows\Themes\ListBoxChrome.cs (1)
296childArrangeRect.Y = border.Top;
Microsoft\Windows\Themes\ScrollChrome.cs (2)
426bounds.Y += 0.5; 438bounds.Y += 1.0;
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
725childArrangeRect.Y = border.Top; 736childArrangeRect.Y += 1.0; 1045bounds.Y += singleThickness.Top;
PresentationFramework.Luna (4)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
378childArrangeRect.Y = (finalSize.Height - childArrangeRect.Height) * 0.5;
Microsoft\Windows\Themes\ScrollChrome.cs (3)
255bounds.Y += padding.Top; 263bounds.Y += 0.5; 275bounds.Y += 1.0;
PresentationFramework.Royale (4)
Microsoft\Windows\Themes\ButtonChrome.cs (1)
336childArrangeRect.Y = (finalSize.Height - childArrangeRect.Height) * 0.5;
Microsoft\Windows\Themes\ScrollChrome.cs (3)
237bounds.Y += padding.Top; 245bounds.Y += 0.5; 257bounds.Y += 1.0;
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
1503rect.Y = top;
191 references to Y
PresentationCore (16)
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (2)
83System.Diagnostics.Debug.Assert((boundingBox.X <= 0) && (boundingBox.Y <= 0)); 90_shapeBounds.Y * pressureFactor,
Core\CSharp\MS\Internal\Media3D\M3DUtil.cs (2)
478double ty = viewport.Y + sy; 497double ty = viewport.Y + sy;
Core\CSharp\System\Windows\Media\EllipseGeometry.cs (2)
55RadiusY = (rect.Bottom - rect.Y) * (1.0 / 2.0); 56Center = new Point(rect.X + RadiusX, rect.Y + RadiusY);
Core\CSharp\System\Windows\Media\RectangleGeometry.cs (6)
155DoubleUtil.AreClose(rect1.Y, rect2.Y) && 515points[2].Y = points[3].Y = points[4].Y = points[5].Y = rect.Y; 516points[1].Y = points[6].Y = rect.Y + bezierY; 517points[0].Y = points[7].Y = rect.Y + radiusY; 532points[0].Y = points[1].Y = points[4].Y = rect.Y;
Core\CSharp\System\Windows\UIElement.cs (3)
1133RoundLayoutValue(rect.Y, dpiScaleY), 1287!DoubleUtil.AreClose(oldOffset.Y, finalRect.Y)) 1289VisualOffset = new Vector(finalRect.X, finalRect.Y);
Shared\MS\Internal\PointUtil.cs (1)
443rc.top = DoubleUtil.DoubleToInt(rect.Y);
PresentationFramework (139)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
409TranslateTransform bodyOffset = new TranslateTransform(markerRect.X, markerRect.Y + _topTailHeight + MarkerVerticalSpace);
src\Framework\MS\Internal\AppModel\ApplicationProxyInternal.cs (1)
417_rbw.Value.ResizeMove((int)r.X, (int)r.Y, (int)r.Width, (int)r.Height);
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
994imageableRect.Y,
src\Framework\MS\Internal\Documents\DocumentGrid.cs (6)
1889Rect translatedRect = new Rect(HorizontalOffset + r.X, VerticalOffset + r.Y, 1902SetVerticalOffsetInternal(translatedRect.Y - (ViewportHeight / 2.0)); 1935if (r.Y < VerticalOffset) 1937SetVerticalOffsetInternal(VerticalOffset - (VerticalOffset - r.Y)); 1939else if (r.Y + r.Height > VerticalOffset + ViewportHeight) 1941SetVerticalOffsetInternal(VerticalOffset + ((r.Y + r.Height) - (VerticalOffset + ViewportHeight)));
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (1)
234newSuggestedOffset = TransformToAncestor(new Point(rect.X, rect.Y));
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (1)
999point = TransformToAncestor(pageTextView.RenderScope, new Point(rect.X, rect.Y));
src\Framework\MS\Internal\Documents\ParagraphResult.cs (3)
954return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1069return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop)); 1242return new Vector(LayoutBox.X + TextDpi.FromTextDpi(mbp.BPLeft), LayoutBox.Y + TextDpi.FromTextDpi(mbp.BPTop));
src\Framework\MS\Internal\Documents\ScrollData.cs (3)
193rectangle.Y += viewport.Y; 220rectangle.Y = viewport.Y; 226rectangle.Y -= viewport.Y;
src\Framework\MS\Internal\Documents\TextBoxView.cs (2)
2200firstLineIndex = (int)(viewport.Y / _lineHeight); 2201lastLineIndex = (int)Math.Ceiling((viewport.Y + viewport.Height) / _lineHeight) - 1;
src\Framework\MS\Internal\Documents\TextDocumentView.cs (1)
2114Point midPoint = new Point(paragraphBox.X + paragraphBox.Width / 2, paragraphBox.Y + paragraphBox.Height / 2);
src\Framework\MS\Internal\Documents\TextParagraphView.cs (16)
608if (point.Y < lineBox.Y) 622else if (point.Y > lineBox.Y + lineBox.Height) 630if (point.Y < nextLineBox.Y) 633double gap = nextLineBox.Y - (lineBox.Y + lineBox.Height); 634if (point.Y > lineBox.Y + lineBox.Height + gap / 2) 665siblingOverhang = lineBox.Y - (siblingLineBox.Y + siblingLineBox.Height); 671if (point.Y < lineBox.Y - siblingOverhang / 2) 683siblingOverhang = siblingLineBox.Y - (lineBox.Y + lineBox.Height); 689if (point.Y > lineBox.Y + lineBox.Height + siblingOverhang / 2) 741if (DoubleUtil.AreClose(siblingLineBox.Y, lineBox.Y)) 770if (DoubleUtil.AreClose(siblingLineBox.Y, lineBox.Y))
src\Framework\MS\Internal\Documents\TextViewBase.cs (1)
146rect.Y += viewport.Y;
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (3)
748double rowTop = tableContentRect.Y; 1951double rowGroupTop = tableContentRect.Y; 2013double rowTop = tableContentRect.Y;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (4)
2301lineRect.Y = lineRect.Y - lineTopSpace; 2342r.Y = r.Y - lineTopSpace; 2412elementRect.Y = elementRect.Y - lineTopSpace; 2452r.Y = r.Y - lineTopSpace;
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (2)
53brush.Viewbox = new Rect(viewBox.X, viewBox.Y, width - header.GetVisualCanvasMarginX(), viewBox.Height); 80brush.Viewbox = new Rect(viewBox.X, viewBox.Y, viewBox.Width, height - header.GetVisualCanvasMarginY());
src\Framework\System\Windows\Controls\DocumentViewer.cs (4)
1409if (point.Y > gridRect.Y + gridRect.Height) 1411verticalOffset += (point.Y - (gridRect.Y + gridRect.Height)); 1413else if (point.Y < gridRect.Y) 1415verticalOffset -= (gridRect.Y - point.Y);
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (3)
605rectangle.Y += viewport.Y; 625rectangle.Y -= viewport.Y; 634rectangle.Y -= viewport.Y;
src\Framework\System\Windows\Controls\Stack.cs (1)
892targetRectOffset = r.Y;
src\Framework\System\Windows\Controls\StickyNote.cs (8)
943if (newRectangle.X < 0 || newRectangle.Y < 0) 946newRectangle.Y = newRectangle.Y < 0d ? 0d : newRectangle.Y; 960if (newRectangle.X < 0 || newRectangle.Y < 0) 968if (newRectangle.Y < 0) 971newRectangle.Height = newRectangle.Height + newRectangle.Y; 1157Point minBoundary = new Point(-(rectNote.X + rectNote.Width - leftBoundary), - rectNote.Y); 1158Point maxBoundary = new Point(rectPage.Width - rectNote.X - rightBoundary, rectPage.Height - rectNote.Y - 20);
src\Framework\System\Windows\Controls\TextRangeAdaptor.cs (1)
1844asDoubles[4 * i + 1] = rects[i].Y;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (44)
1182? elementRect.Y : elementRect.X; 1258firstContainerOffsetFromViewport = elementRect.Y; 1289if (DoubleUtil.GreaterThanOrClose(elementRect.Y, 0)) 1316DoubleUtil.GreaterThanOrClose(elementRect.Y, 0)) 1320DoubleUtil.GreaterThan(elementRect.Y, 0)) // this container is non-top 2580double spanBeforeViewport = Math.Max(isHorizontal ? viewport.X : viewport.Y, 0.0); 4450double offset = isHorizontal ? viewport.X : viewport.Y; 4525extendedViewport.Y += viewport.Y - _viewport.Y; 4776pixelSizeBeforeViewport = Math.Max(pixelSizeBeforeViewport, Math.Abs(_viewport.Y - _extendedViewport.Y)); 4780logicalSizeBeforeViewport = Math.Max(logicalSizeBeforeViewport, Math.Abs(_viewport.Y - _extendedViewport.Y)); 4810if (DoubleUtil.LessThan(extendedViewport.Y, 0.0)) 4812extendedViewport.Height = Math.Max(extendedViewport.Height + extendedViewport.Y, 0.0); 4816if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height, _scrollData._extent.Height)) 4818extendedViewport.Height = _scrollData._extent.Height - extendedViewport.Y; 4845if (DoubleUtil.LessThan(extendedViewport.Y, 0.0)) 4847extendedViewport.Height = Math.Max(extendedViewport.Height / approxSizeOfLogicalUnit + extendedViewport.Y, 0.0) * approxSizeOfLogicalUnit; 4851if (DoubleUtil.GreaterThan(extendedViewport.Y + extendedViewport.Height / approxSizeOfLogicalUnit, _scrollData._extent.Height)) 4853extendedViewport.Height = (_scrollData._extent.Height - extendedViewport.Y) * approxSizeOfLogicalUnit; 4889viewport.Y = ScrollContentPresenter.CoerceOffset(viewport.Y, extent.Height, viewport.Height); 4890if (!IsPixelBased && !isHorizontal && DoubleUtil.IsZero(viewport.Height) && DoubleUtil.AreClose(viewport.Y, extent.Height)) 4892viewport.Y = ScrollContentPresenter.CoerceOffset(viewport.Y - 1, extent.Height, viewport.Height); 5062if (DoubleUtil.GreaterThan(parentViewport.Y, 0)) 5068if (IsPixelBased && DoubleUtil.GreaterThan(pixelSize.Height, parentViewport.Y)) 5074sizeAfterStartViewportEdge = pixelSize.Height - parentViewport.Y; 5294if (DoubleUtil.GreaterThan(parentViewport.Y, 0)) 5306if (IsPixelBased && DoubleUtil.GreaterThan(0, viewport.Y)) 5315cacheBeforeSize = Math.Max(0, cacheBeforeSize - parentViewport.Y); 5320viewport.Height = Math.Max(0, viewport.Height + viewport.Y); 5447double spanBeforeViewport = Math.Max(isHorizontal ? viewport.X : viewport.Y, 0.0); 5563double oldOffset = isHorizontal ? viewport.X : viewport.Y; 6640childViewport.Y = Math.Min(childViewport.Y, 0) - 6655isAfterFirstItem || DoubleUtil.LessThanOrClose(childViewport.Y, 0.0) ? 6666isAfterFirstItem || DoubleUtil.LessThanOrClose(childViewport.Y, 0.0) ? 7090if (DoubleUtil.GreaterThanOrClose(childViewport.Y, childPixelSize.Height) || 7108if (DoubleUtil.GreaterThanOrClose(childViewport.Y, childLogicalSize.Height) || 7153double childPixelHeightInViewport = Math.Min(childViewport.Height, childPixelSize.Height - Math.Max(childViewport.Y, 0.0)); 7189pixelSizeBeforeViewport = DoubleUtil.LessThan(childViewport.Y, childPixelSize.Height) ? Math.Max(childViewport.Y, 0.0) : childPixelSize.Height; 7207if (DoubleUtil.GreaterThanOrClose(childViewport.Y, childLogicalSize.Height)) 11034targetRectOffset = r.Y; 11078double childOffsetWithinViewport = r.Y;
src\Framework\System\windows\Documents\CaretElement.cs (2)
287newTop = caretRectangle.Y; 377MS.Internal.Documents.TextViewBase.BringRectIntoViewMinimally(_textEditor.TextView, new Rect(scrollToOriginPosition, scrollRectangle.Y, scrollRectangle.Width, scrollRectangle.Height));
src\Framework\System\Windows\Documents\FixedPageStructure.cs (2)
167double absVerDistance = Math.Max(0, (pt.Y > lineResult.LayoutBox.Y) ? (pt.Y - lineResult.LayoutBox.Bottom) : (lineResult.LayoutBox.Y - pt.Y));
src\Framework\System\Windows\Documents\FixedTextView.cs (4)
861double verticalDistance = Math.Max(0, (transformedPt.Y > alignmentRect.Y) ? (transformedPt.Y - alignmentRect.Bottom) : (alignmentRect.Y - transformedPt.Y)); 953distance = (pt1.Y > box.Y) ? (pt1.Y - box.Bottom) : (box.Y - pt1.Y);
src\Framework\System\Windows\Documents\Glyphs.cs (1)
225_glyphRunOrigin.Y = -alignmentRect.Y;
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
458double centerLine = boundingRect.Y + .5 * boundingRect.Height;
src\Framework\System\windows\Documents\TextEditorContextMenu.cs (3)
283verticalOffset = positionRect.Y + positionRect.Height; 368minPoint = new Point(bounds.X, bounds.Y); 369maxPoint = new Point(bounds.X + bounds.Width, bounds.Y + bounds.Height);
src\Framework\System\windows\Documents\TextEditorSelection.cs (1)
2296suggestedY = This.TextView.GetRectangleFromTextPosition(position).Y;
src\Framework\System\windows\Documents\TextSelection.cs (4)
1994cursorMousePoint.Y >= objectEdgeRect.Y && cursorMousePoint.Y < objectEdgeRect.Y + objectEdgeRect.Height) 2255Point top = new Point(caretRectangle.X, caretRectangle.Y); 2256Point bottom = new Point(caretRectangle.X, caretRectangle.Y + caretRectangle.Height);
src\Framework\System\Windows\FrameworkElement.cs (5)
4548SetLayoutOffset(new Vector(finalRect.X, finalRect.Y), oldRenderSize); 4782offset.Y += finalRect.Y + margin.Top; 4965-offset.Y + inkRectTransformed.Y, 5011-offset.Y + inkRectTransformed.Y, 5252t.Children.Add(new TranslateTransform(-inkRectTransformed.X, -inkRectTransformed.Y));
src\Framework\System\Windows\Input\KeyboardNavigation.cs (2)
654Canvas.SetTop(control, rect.Y); 672Canvas.SetTop(control, rect.Y);
src\Framework\System\Windows\Interop\ActiveXHost.cs (2)
205_bounds.top = (int) bounds.Y; 207_bounds.bottom = (int) (bounds.Height + bounds.Y);
src\Framework\System\Windows\Interop\HwndHost.cs (1)
811(int)rcBoundingBox.Y,
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (1)
773mousePosWindow.Offset(-windowPosition.X, -windowPosition.Y);
src\Framework\System\Windows\Standard\MessageWindow.cs (1)
101(int)location.Y,
src\Framework\System\Windows\Window.cs (2)
3953topDeviceUnits = ownerRectDeviceUnits.Y + ((ownerRectDeviceUnits.Height - currentSizeDeviceUnits.Height) / 2); 4114Point locationLogicalUnits = DeviceToLogicalUnits(new Point(rectDeviceUnits.X, rectDeviceUnits.Y));
PresentationFramework.Aero (7)
Microsoft\Windows\Themes\ScrollChrome.cs (7)
473new Rect(bounds.X, bounds.Y + 2.0, bounds.Width, bounds.Height - 2.0), 492new Rect(bounds.X, bounds.Y, bounds.Width, bounds.Height), 506new Rect(bounds.X, bounds.Y, bounds.Width, bounds.Height), 551double y = bounds.Y + ((bounds.Height - height) * 0.5); 574double y = bounds.Y + ((bounds.Height * 0.5) - 4.0); 739double y = (bounds.Y + (bounds.Height * 0.5)) / heightScale - (glyphHeight * 0.5); 753double y = bounds.Y + (bounds.Height * 0.5) - (glyphHeight * 0.5);
PresentationFramework.Luna (7)
Microsoft\Windows\Themes\ScrollChrome.cs (7)
312new Rect(bounds.X, bounds.Y + 2.0, bounds.Width, bounds.Height - 2.0), 332new Rect(bounds.X, bounds.Y, bounds.Width, bounds.Height), 346new Rect(bounds.X, bounds.Y, bounds.Width, bounds.Height), 392double y = bounds.Y + ((bounds.Height - height) * 0.5); 414double y = bounds.Y + ((bounds.Height * 0.5) - 4.0); 598double y = (bounds.Y + (bounds.Height * 0.5)) / heightScale - (glyphHeight * 0.5); 612double y = bounds.Y + (bounds.Height * 0.5) - (glyphHeight * 0.5);
PresentationFramework.Royale (6)
Microsoft\Windows\Themes\ScrollChrome.cs (6)
292new Rect(bounds.X, bounds.Y, bounds.Width, bounds.Height), 306new Rect(bounds.X, bounds.Y, bounds.Width, bounds.Height), 352double y = bounds.Y + ((bounds.Height - height) * 0.5); 374double y = bounds.Y + ((bounds.Height * 0.5) - 4.0); 558double y = (bounds.Y + (bounds.Height * 0.5)) / heightScale - (glyphHeight * 0.5); 572double y = bounds.Y + (bounds.Height * 0.5) - (glyphHeight * 0.5);
System.Activities.Presentation (7)
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (5)
84Fx.Assert(anchorPoint.Y >= canvas.Y && anchorPoint.Y <= canvas.Y + canvas.Height, "Y axis of anchorPoint not within canvas"); 92if (anchorPoint.Y + desiredSize.Height <= canvas.Y + canvas.Height) 98if (anchor == AdornerLocation.None && anchorPoint.Y - desiredSize.Height >= canvas.Y) 105if (anchor == AdornerLocation.None && anchorPoint.X - desiredSize.Width >= canvas.X && anchorPoint.Y - desiredSize.Height >= canvas.Y)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (2)
135Rect shrunk = new Rect(rect.X + delta, rect.Y + delta, rect.Width - delta * 2, rect.Height - delta * 2); 210Rect shrunk = new Rect(rect.X + delta, rect.Y + delta, rect.Width - delta * 2, rect.Height - delta * 2);
UIAutomationClientsideProviders (1)
MS\Internal\AutomationProxies\Misc.cs (1)
92doubles[scan++] = rectArray[i].Y;
WindowsBase (8)
Base\System\Windows\Generated\Rect.cs (5)
65rect1.Y == rect2.Y && 106rect1.Y.Equals(rect2.Y) && 165Y.GetHashCode() ^
Shared\MS\Internal\DoubleUtil.cs (3)
245DoubleUtil.AreClose(rect1.Y, rect2.Y) && 279|| DoubleUtil.IsNaN(r.Y)