388 references to Rect
PresentationCore (30)
Core\CSharp\MS\Internal\Automation\ElementUtil.cs (1)
140Rect rect = new Rect(0, 0, width, height);
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (1)
88boundingBox = new Rect(
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (1)
74Rect lastRect = new Rect(0, 0, 0, 0);
Core\CSharp\MS\Internal\Ink\StylusShape.cs (1)
203bbox = new Rect(-(m_width * 0.5), -(m_height * 0.5), m_width, m_height);
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (2)
1495new Rect(0, 0, 0, Height), 1511new Rect(Start + Width - _collapsingSymbol.Width, 0, _collapsingSymbol.Width, Height),
Core\CSharp\MS\Internal\TextFormatting\LineServicesCallbacks.cs (2)
1476new Rect( 1519return new Rect(
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (3)
637boundingBox = new Rect(Start, 0, 0, 0); 890new Rect( 1877Rect underlineRect = new Rect(
Core\CSharp\System\Windows\Automation\Peers\GenericRootAutomationPeer.cs (1)
86Rect bounds = new Rect(0,0,0,0);
Core\CSharp\System\Windows\Interop\HwndTarget.cs (2)
854Rect clientRect = new Rect( 1747Rect clientRect = new Rect(
Core\CSharp\System\Windows\Media\CompositionTarget.cs (1)
608private Rect _worldClipBounds = new Rect(
Core\CSharp\System\Windows\Media\EllipseGeometry.cs (2)
105boundsRect = new Rect( 184rect = new Rect(
Core\CSharp\System\Windows\Media\Generated\TileBrush.cs (4)
396internal static Rect s_Viewport = new Rect(0,0,1,1); 397internal static Rect s_Viewbox = new Rect(0,0,1,1); 464new Rect(0,0,1,1), 473new Rect(0,0,1,1),
Core\CSharp\System\Windows\Media\GlyphRun.cs (6)
1401bounds = new Rect( 1575return new Rect( 1663return new Rect( 1672return new Rect( 1699backgroundRect = new Rect( 1708backgroundRect = new Rect(
Core\CSharp\System\windows\Media\MILUtilities.cs (1)
221return new Rect(
Core\CSharp\System\Windows\Media\Visual.cs (1)
576Rect unitBounds = new Rect(0,0,1,1);
Core\CSharp\System\Windows\UIElement.cs (1)
1132return new Rect(RoundLayoutValue(rect.X, dpiScaleX),
PresentationFramework (136)
src\Framework\MS\Internal\AppModel\IconHelper.cs (4)
159var drawingDimensions = new Rect(0, 0, renderSize.Width, renderSize.Height); 168drawingDimensions = new Rect((renderSize.Width - img.Width) / 2, (renderSize.Height - img.Height) / 2, img.Width, img.Height); 173drawingDimensions = new Rect((renderSize.Width - scaledRenderWidth) / 2, 0, scaledRenderWidth, renderSize.Height); 178drawingDimensions = new Rect(0, (renderSize.Height - scaledRenderHeight) / 2, renderSize.Width, scaledRenderHeight);
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (2)
1055imageableRect = new Rect(imageableArea.OriginWidth, 1067imageableRect = new Rect(NON_PRINTABLE_MARGIN,
src\Framework\MS\Internal\Controls\InkCanvasFeedbackAdorner.cs (1)
165new Rect(CornerResizeHandleSize / 2, CornerResizeHandleSize / 2,
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (4)
76new Rect(0.0, 0.0, 1f, 1f)); 96tileBrush.Viewport = new Rect(0, 0, HatchBorderMargin, HatchBorderMargin); 315rectGeometry = new RectangleGeometry(new Rect(0, 0, RenderSize.Width, RenderSize.Height)); 419visibleRect = new Rect(center.X - size / 2, center.Y - size / 2, size, size);
src\Framework\MS\Internal\Controls\StickyNote\StickyNoteAnnotations.cs (5)
1413Rect viewport = new Rect(0, 0, scrollInfo.ViewportWidth, scrollInfo.ViewportHeight); 1423Rect rect = new Rect(0, 0, Width, Height); 1594ret = new Rect(anchor.X + PositionTransform.X + _deltaX, anchor.Y + PositionTransform.Y + _deltaY, Width, Height); 1614pageBounds = new Rect(-scrollInfo.HorizontalOffset, -scrollInfo.VerticalOffset, scrollInfo.ExtentWidth, scrollInfo.ExtentHeight); 1623pageBounds = new Rect(0, 0, pageSize.Width, pageSize.Height);
src\Framework\MS\Internal\Documents\ColumnResult.cs (2)
59_layoutBox = new Rect( 84_layoutBox = new Rect(
src\Framework\MS\Internal\Documents\DocumentGrid.cs (3)
1889Rect translatedRect = new Rect(HorizontalOffset + r.X, VerticalOffset + r.Y, 1892Rect viewportRect = new Rect(HorizontalOffset, VerticalOffset, 1916Rect viewportRect = new Rect(HorizontalOffset, VerticalOffset,
src\Framework\MS\Internal\Documents\FlowDocumentFormatter.cs (1)
136viewport = new Rect(0, 0, arrangeSize.Width, _document.StructuralCache.BackgroundFormatInfo.ViewportHeight);
src\Framework\MS\Internal\Documents\FlowDocumentView.cs (1)
160viewport = new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, safeArrangeSize.Width, safeArrangeSize.Height);
src\Framework\MS\Internal\Documents\ScrollData.cs (1)
191Rect viewport = new Rect(_offset.X, _offset.Y, _viewport.Width, _viewport.Height);
src\Framework\MS\Internal\Documents\TextBoxView.cs (7)
541context.DrawRectangle(new SolidColorBrush(Color.FromArgb(0, 0, 0, 0)), null, new Rect(0, 0, this.RenderSize.Width, this.RenderSize.Height)); 746Rect rect = new Rect(contentOffset, lineIndex * _lineHeight, _lineMetrics[lineIndex].Width, _lineHeight); 2058Rect rect = new Rect(0, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2105Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, lineIndex * _lineHeight, endOfParaGlyphWidth, _lineHeight); 2154Rect rect = new Rect(0, 0, endOfParaGlyphWidth, _lineHeight); 2184Rect rect = new Rect(contentOffset + _lineMetrics[lineIndex].Width, 0, endOfParaGlyphWidth, _lineHeight); 3004new Rect(_scrollData.HorizontalOffset, _scrollData.VerticalOffset, _scrollData.ViewportWidth, _scrollData.ViewportHeight);
src\Framework\MS\Internal\Documents\TextDocumentView.cs (5)
216visibleRect = new Rect(scrollInfo.HorizontalOffset, scrollInfo.VerticalOffset, scrollInfo.ViewportWidth, scrollInfo.ViewportHeight); 3494return new Rect(paragraphResult.LayoutBox.Left, paragraphResult.LayoutBox.Top, 0.0, paragraphResult.LayoutBox.Height); 3499return new Rect(paragraphResult.LayoutBox.Right, paragraphResult.LayoutBox.Top, 0.0, paragraphResult.LayoutBox.Height); 3528return new Rect(paragraphResult.LayoutBox.Left, paragraphResult.LayoutBox.Top, 0.0, paragraphResult.LayoutBox.Height); 3533return new Rect(paragraphResult.LayoutBox.Right, paragraphResult.LayoutBox.Top, 0.0, paragraphResult.LayoutBox.Height);
src\Framework\MS\Internal\Documents\TextViewBase.cs (1)
144Rect viewport = new Rect(isi.HorizontalOffset, isi.VerticalOffset, isi.ViewportWidth, isi.ViewportHeight);
src\Framework\MS\Internal\Ink\InkCanvasSelection.cs (2)
412Rect elementBounds = new Rect(0, 0, size.Width, size.Height); // Rect in element space 1097Rect rect = new Rect(0, 0, size.Width, size.Height); // Rect in element space
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
282dc.DrawRectangle(db, null, new Rect(0, 0, width, height));
src\Framework\MS\Internal\PtsHost\CellParaClient.cs (3)
370Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(ContentRect.du), TextDpi.FromTextDpi(ContentRect.dv)); 477_rectTable = new Rect(TextDpi.FromTextDpi(tpc.Rect.u), 482_rectCell = new Rect(TextDpi.FromTextDpi(cpc.Rect.u),
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (1)
830Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(_contentRect.du), TextDpi.FromTextDpi(_contentRect.dv));
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (1)
836Rect viewport = new Rect(0, 0, TextDpi.FromTextDpi(_contentRect.du), TextDpi.FromTextDpi(_contentRect.dv));
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
168SetContentBox(new Rect(pageMargin.Left, pageMargin.Top, _ptsPage.CalculatedSize.Width, _ptsPage.CalculatedSize.Height)); 206SetContentBox(new Rect(pageMargin.Left, pageMargin.Top,
src\Framework\MS\Internal\PtsHost\Pts.cs (1)
952return new Rect(TextDpi.FromTextDpi(u), TextDpi.FromTextDpi(v), TextDpi.FromTextDpi(du), TextDpi.FromTextDpi(dv));
src\Framework\MS\Internal\PtsHost\RunClient.cs (1)
93return new Rect(0, -baseline, sideways ? size.Height : size.Width, sideways ? size.Width : size.Height);
src\Framework\MS\Internal\PtsHost\StructuralCache.cs (2)
769internal PTS.FSRECT PageRect { get { return new PTS.FSRECT(new Rect(0, 0, PageWidth, PageHeight)); } } 774internal PTS.FSRECT PageMarginRect { get { return new PTS.FSRECT(new Rect(PageMargin.Left, PageMargin.Top,
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (1)
1230return new Rect( TextDpi.FromTextDpi(rectTable.u + rectTable.du),
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (4)
1728Rect lbox = new Rect( 1797Rect lbox = new Rect(TextDpi.FromTextDpi(element.urBBox), TextDpi.FromTextDpi(lineDesc.vrStart), 2352new Rect( 2462new Rect(
src\Framework\MS\Internal\Text\InlineObject.cs (1)
87return new Rect(0, -baseline, sideways ? size.Height : size.Width, sideways ? size.Width : size.Height);
src\Framework\MS\Internal\Text\TextDpi.cs (1)
99return new Rect(
src\Framework\System\Windows\Automation\Peers\WindowAutomationPeer.cs (1)
80Rect bounds = new Rect(0,0,0,0);
src\Framework\System\Windows\Controls\Border.cs (1)
646return new Rect(rt.Left + thick.Left,
src\Framework\System\Windows\Controls\DataGridCellsPanel.cs (1)
1532_childClipForFrozenBehavior.Rect = new Rect(cellChoppedWidth, 0, clipWidth, rcChild.Height);
src\Framework\System\Windows\Controls\DataGridColumnFloatingHeader.cs (3)
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()); 150visualBrush.Viewbox = new Rect(offset.X, offset.Y, width, height);
src\Framework\System\Windows\Controls\DockPanel.cs (1)
294Rect rcChild = new Rect(
src\Framework\System\Windows\Controls\Grid.cs (1)
770Rect cellRect = new Rect(
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
887visualBrush.Viewbox = new Rect(offsetVector.X, offsetVector.Y, FloatSourceHeader.ActualWidth, FloatSourceHeader.ActualHeight);
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (2)
360rect = new Rect(accumulatedWidth, 0.0, childArrangeWidth, arrangeSize.Height); 391rect = new Rect(accumulatedWidth, 0.0, Math.Max(remainingWidth, 0.0), arrangeSize.Height);
src\Framework\System\Windows\Controls\GridViewRowPresenter.cs (1)
229child.Arrange(new Rect(accumulatedWidth, 0, childArrangeWidth, arrangeSize.Height));
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
3027viewPortBounds = new Rect(Double.NegativeInfinity, viewPortBounds.Top, 3032viewPortBounds = new Rect(viewPortBounds.Left, Double.NegativeInfinity,
src\Framework\System\Windows\Controls\Panel.cs (1)
76new Rect(0.0, 0.0, renderSize.Width, renderSize.Height));
src\Framework\System\Windows\Controls\Primitives\BulletDecorator.cs (3)
205new Rect(0, 0, RenderSize.Width, RenderSize.Height)); 304content.Arrange(new Rect(contentOffsetX, 0, contentSize.Width, contentSize.Height)); 313bullet.Arrange(new Rect(0, bulletOffsetY, bullet.DesiredSize.Width, bullet.DesiredSize.Height));
src\Framework\System\Windows\Controls\Primitives\Popup.cs (2)
2344placementRect = new Rect(0.0, 0.0, target.RenderSize.Width, target.RenderSize.Height); 2470return new Rect(left, top, right - left, bottom - top);
src\Framework\System\Windows\Controls\Primitives\ScrollContentPresenter.cs (1)
603Rect viewport = new Rect(HorizontalOffset, VerticalOffset, ViewportWidth, ViewportHeight);
src\Framework\System\Windows\Controls\Primitives\TabPanel.cs (2)
282child.Arrange(new Rect(childOffset.X, childOffset.Y, cellSize.Width, cellSize.Height)); 314child.Arrange(new Rect(0, childOffsetY, arrangeSize.Width, childSize.Height));
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (1)
214child.Arrange(new Rect(x, y, child.DesiredSize.Width, lineHeight));
src\Framework\System\Windows\Controls\Primitives\UniformGrid.cs (1)
218Rect childBounds = new Rect(0, 0, arrangeSize.Width / _columns, arrangeSize.Height / _rows);
src\Framework\System\Windows\Controls\ScrollViewer.cs (1)
926Rect rc = new Rect(0, 0, this.ActualWidth, this.ActualHeight);
src\Framework\System\Windows\Controls\TextBlock.cs (2)
1588ctx.DrawRectangle(background, null, new Rect(0, 0, RenderSize.Width, RenderSize.Height)); 2155Rect layoutBox = new Rect(contentOffset.X + lineMetrics.Start, contentOffset.Y + lineOffset, lineMetrics.Width, lineMetrics.Height);
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
348new Rect(0, 0, RenderSize.Width, RenderSize.Height));
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (3)
4266viewport = new Rect(offsetX, offsetY, size.Width, size.Height); 4271viewport = new Rect(offsetX, offsetY, viewportSize.Width, viewportSize.Height); 4503viewport = new Rect(0, 0, constraint.Width, constraint.Height);
src\Framework\System\Windows\Controls\WrapPanel.cs (1)
355child.Arrange(new Rect(
src\Framework\System\windows\Documents\CaretElement.cs (4)
339scrollRectangle = new Rect(_left - CaretPaddingWidth, _top, CaretPaddingWidth * 2 + (IsInInterimState ? _interimWidth : _systemCaretWidth), _height); 377MS.Internal.Documents.TextViewBase.BringRectIntoViewMinimally(_textEditor.TextView, new Rect(scrollToOriginPosition, scrollRectangle.Y, scrollRectangle.Width, scrollRectangle.Height)); 687context.DrawRectangle(_caretBrush, null, new Rect(0, 0, _interimWidth, _height)); 700context.DrawRectangle(_caretBrush, null, new Rect(-(_systemCaretWidth / 2), 0, _systemCaretWidth, _height));
src\Framework\System\Windows\Documents\FixedHighlight.cs (1)
121return new Rect(0, 0, im.Width, im.Height);
src\Framework\System\Windows\Documents\FixedPage.cs (1)
162new Rect(0, 0, RenderSize.Width, RenderSize.Height));
src\Framework\System\Windows\Documents\FixedSOMPageConstructor.cs (3)
86_pageConstructor._ProcessFilledRect(_transform, new Rect(_xMin, _yMin, _xMax - _xMin, _yMax - _yMin)); 477Rect boundingRect = new Rect(lastX, alignmentBox.Top, advWidth + advFont, alignmentBox.Height); 506Rect boundingRect = new Rect(lastX, alignmentBox.Top, alignmentBox.Right-lastX, alignmentBox.Height);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
1334g = new RectangleGeometry(new Rect(0, 0, im.Width, im.Height));
src\Framework\System\Windows\Documents\FixedTextView.cs (1)
175Rect designRect = new Rect(0, 0, 0, 10);
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
168brush.Viewport = new Rect(0, 0, 3, 3);
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
128_dragRect = new Rect(mouseDownPoint.X - minimumHorizontalDragDistance, mouseDownPoint.Y - minimumVerticalDragDistance, minimumHorizontalDragDistance * 2, minimumVerticalDragDistance * 2);
src\Framework\System\Windows\Documents\TextRangeEditTables.cs (2)
1630columnRect = new Rect(cellInfo.CellArea.Left, cellInfo.TableArea.Top, 1, cellInfo.TableArea.Height); 1640columnRect = new Rect(cellInfo.CellArea.Right, cellInfo.TableArea.Top, 1, cellInfo.TableArea.Height);
src\Framework\System\Windows\FrameworkElement.cs (10)
4285Rect childBoundsTr = Rect.Transform(new Rect(0, 0, w, h), 4419Rect unclippedBoundsTransformed = Rect.Transform(new Rect(0, 0, unclippedDesiredSize.Width, unclippedDesiredSize.Height), ltd.Transform.Value); 4444Rect childBoundsTransformed = Rect.Transform(new Rect(0, 0, desiredSize.Width, desiredSize.Height), ltd.Transform.Value); 4749Rect inkRectTransformed = Rect.Transform(new Rect(0, 0, clippedInkSize.Width, clippedInkSize.Height), ltd.Transform.Value); 4924inkRectTransformed = Rect.Transform(new Rect(0, 0, inkSize.Width, inkSize.Height), ltd.Transform.Value); 4946Rect clipRect = new Rect(0, 0, maxWidthClip, maxHeightClip); 4964Rect slotClipRect = new Rect(-offset.X + inkRectTransformed.X, 4984Rect localClipRect = new Rect(0, 0, maxWidthClip, maxHeightClip); 5010Rect slotRect = new Rect(-offset.X + inkRectTransformed.X, 5022Rect localRect = new Rect(0, 0, maxWidthClip, maxHeightClip);
src\Framework\System\Windows\Input\KeyboardNavigation.cs (3)
2490return transform.TransformBounds(new Rect(x, y, width, height)); 3089Rect sourceRect = new Rect(0, 0, 0, 0); 3100sourceRect = new Rect(0, 0, 0, 0);
src\Framework\System\Windows\Interop\ActiveXHost.cs (1)
1198private Rect _boundRect = new Rect(0, 0, 0, 0);
src\Framework\System\Windows\Interop\DocobjHost.cs (1)
742Rect windowRect = new Rect(x, y, width, height);
src\Framework\System\Windows\Shapes\Ellipse.cs (2)
125_rect = new Rect( 210_rect = new Rect(margin, margin, 0, 0);
src\Framework\System\Windows\Shapes\Rectangle.cs (2)
178_rect = new Rect( 256_rect = new Rect(margin, margin, 0, 0);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (7)
445Rect rcLogicalWindow = DpiHelper.DeviceRectToLogical(new Rect(rcWindow.Left, rcWindow.Top, rcWindow.Width, rcWindow.Height), dpi.DpiScaleX, dpi.DpiScaleY); 446Rect rcLogicalClient = DpiHelper.DeviceRectToLogical(new Rect(rcAdjustedClient.Left, rcAdjustedClient.Top, rcAdjustedClient.Width, rcAdjustedClient.Height), dpi.DpiScaleX, dpi.DpiScaleY); 1041return new Rect(windowPosition.Left, windowPosition.Top, windowPosition.Width, windowPosition.Height); 1242hrgn = _CreateRoundRectRgn(new Rect(0, 0, windowSize.Width / 2 + topLeftRadius, windowSize.Height / 2 + topLeftRadius), topLeftRadius); 1246Rect topRightRegionRect = new Rect(0, 0, windowSize.Width / 2 + topRightRadius, windowSize.Height / 2 + topRightRadius); 1254Rect bottomLeftRegionRect = new Rect(0, 0, windowSize.Width / 2 + bottomLeftRadius, windowSize.Height / 2 + bottomLeftRadius); 1262Rect bottomRightRegionRect = new Rect(0, 0, windowSize.Width / 2 + bottomRightRadius, windowSize.Height / 2 + bottomRightRadius);
src\Framework\System\Windows\SystemParameters.cs (1)
425_workArea = new Rect(ConvertPixel(workArea.left), ConvertPixel(workArea.top), ConvertPixel(workArea.Width), ConvertPixel(workArea.Height));
src\Framework\System\Windows\Window.cs (3)
3938ownerRectDeviceUnits = new Rect(ownerLocationDeviceUnits.X, ownerLocationDeviceUnits.Y, 4102return new Rect(locationDeviceUnits.X, locationDeviceUnits.Y, sizeDeviceUnits.X, sizeDeviceUnits.Y); 4116return new Rect(locationLogicalUnits.X, locationLogicalUnits.Y, sizeLogicalUnits.X, sizeLogicalUnits.Y);
PresentationFramework.Aero (44)
Microsoft\Windows\Themes\BulletChrome.cs (6)
615Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 639Rect backgroundRect = new Rect(bounds.Left + 1.0, 681dc.DrawRectangle(innerFill, null, new Rect(bounds.Left + 3.0, bounds.Top + 3.0, bounds.Width - 6.0, bounds.Height - 6.0)); 688dc.DrawRectangle(null, innerBorder, new Rect(bounds.Left + 2.5, bounds.Top + 2.5, bounds.Width - 5.0, bounds.Height - 5.0)); 731dc.DrawRectangle(null, HighlightStroke, new Rect(3.5, 3.5, 6, 6)); 754Rect rect = new Rect(bounds.Left + 0.5,
Microsoft\Windows\Themes\ButtonChrome.cs (6)
478Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 502Rect backgroundRect = new Rect(bounds.Left + 1.0, 527dc.DrawRectangle(leftShadow, null, new Rect(1.0, 1.0, 2.0, bounds.Bottom - 2.0)); 534dc.DrawRectangle(topShadow, null, new Rect(1.0, 1.0, bounds.Right - 2.0, 2.0)); 611Rect rect = new Rect(bounds.Left + 0.5, 662dc.DrawRoundedRectangle(null, innerBorder, new Rect(bounds.Left + 1.5, bounds.Top + 1.5, bounds.Width - 3.0, bounds.Height - 3.0), 1.75, 1.75);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (8)
88dc.DrawRectangle(bevel, null, new Rect(0.0, 0.0, size.Width, size.Height)); 149dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 223dc.DrawRectangle(sideBrush, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 0.95))); 224dc.DrawRectangle(sideBrush, null, new Rect(size.Width - 1.0, 0.0, 1.0, Max0(size.Height - 0.95))); 246dc.DrawRectangle(topBrush, null, new Rect(0.0, 0.0, size.Width, 2.0)); 263dc.DrawRectangle(pressedBevel, null, new Rect(1.0, 0.0, 1.0, size.Height - 0.95)); 264dc.DrawRectangle(pressedBevel, null, new Rect(size.Width - 2.0, 0.0, 1.0, size.Height - 0.95)); 307dc.DrawRectangle(bottomBrush, null, new Rect(0.0, size.Height - 1.0, size.Width, 1.0));
Microsoft\Windows\Themes\ListBoxChrome.cs (4)
315Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 335Rect backgroundRect = new Rect(bounds.Left + border.Left, 350backgroundRect = new Rect(bounds.Left + border.Left + innerBorderThickness, 372Rect rect = new Rect(bounds.Left + 0.5,
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (2)
77newBrush.Viewport = newBrush.Viewbox = new Rect(-width, 0, twiceWidth, height); 87myDrawingContext.DrawRectangle(brush, null, new Rect(-width, 0, width, height));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
420Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 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), 557dc.DrawRectangle(glyphShadow, null, new Rect(x + i - 0.5, y - 0.5, 3.0, shadowHeight)); 560dc.DrawRectangle(brush, null, new Rect(x + i, y, 2.0, height)); 580dc.DrawRectangle(glyphShadow, null, new Rect(x - 0.5, y + i - 0.5, shadowWidth, 3.0)); 583dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 2.0));
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
238child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
162Rect topLeft = new Rect(shadowBounds.Left, shadowBounds.Top, cornerRadius.TopLeft, cornerRadius.TopLeft); 168Rect top = new Rect(guidelineSetX[1], shadowBounds.Top, topWidth, ShadowDepth); 172Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 179Rect left = new Rect(shadowBounds.Left, guidelineSetY[1], ShadowDepth, leftHeight); 186Rect right = new Rect(guidelineSetX[5], guidelineSetY[2], ShadowDepth, rightHeight); 191Rect bottomLeft = new Rect(shadowBounds.Left, guidelineSetY[3], cornerRadius.BottomLeft, cornerRadius.BottomLeft); 197Rect bottom = new Rect(guidelineSetX[3], guidelineSetY[5], bottomWidth, ShadowDepth); 201Rect bottomRight = new Rect(guidelineSetX[4], guidelineSetY[4], cornerRadius.BottomRight, cornerRadius.BottomRight); 218Rect center = new Rect(guidelineSetX[0], guidelineSetY[0], centerWidth, centerHeight);
PresentationFramework.Classic (39)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (13)
606return new Rect(rt.Left + thick.Left, 765Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 958dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, borderThickness.Top)); 964dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Top, borderThickness.Left, bounds.Height)); 970dc.DrawRectangle(borderBrush, null, new Rect(bounds.Right - borderThickness.Right, bounds.Top, borderThickness.Right, bounds.Height)); 976dc.DrawRectangle(borderBrush, null, new Rect(bounds.Left, bounds.Bottom - borderThickness.Bottom, bounds.Width, borderThickness.Bottom)); 1042dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, singleThickness.Top)); 1043dc.DrawRectangle(LightLightBrush, null, new Rect(bounds.Left, bounds.Bottom - singleThickness.Bottom, bounds.Width, singleThickness.Bottom)); 1055dc.DrawRectangle(DarkBrush, null, new Rect(bounds.Left, bounds.Top, singleThickness.Left, bounds.Height)); 1056dc.DrawRectangle(LightLightBrush, null, new Rect(bounds.Right - singleThickness.Right, bounds.Top, singleThickness.Right, bounds.Height)); 1224Rect tempBounds = new Rect(0.0, 0.0, bounds.Height, bounds.Width); 1260Rect tempBounds = new Rect(0.0, 0.0, bounds.Height, bounds.Width) ; 1281Rect tempBounds = new Rect(0.0, 0.0, bounds.Width, bounds.Height);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (11)
102dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 109dc.DrawRectangle(dark, null, new Rect(0.0, 0.0, size.Width, 1.0)); 110dc.DrawRectangle(dark, null, new Rect(0.0, 0.0, 1.0, size.Height)); 111dc.DrawRectangle(dark, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 112dc.DrawRectangle(dark, null, new Rect(Max0(size.Width - 1.0), 0.0, 1.0, size.Height)); 116dc.DrawRectangle(light, null, new Rect(0.0, 0.0, 1.0, Max0(size.Height - 1.0))); 117dc.DrawRectangle(light, null, new Rect(0.0, 0.0, Max0(size.Width - 1.0), 1.0)); 123dc.DrawRectangle(dark, null, new Rect(Max0(size.Width - 2.0), 1.0, 1.0, Max0(size.Height - 2.0))); 126dc.DrawRectangle(darkDarkRight, null, new Rect(Max0(size.Width - 1.0), 0.0, 1.0, size.Height)); 133dc.DrawRectangle(dark, null, new Rect(1.0, Max0(size.Height - 2.0), Max0(size.Width - 2.0), 1.0)); 136dc.DrawRectangle(darkDarkBottom, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0));
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
238child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (5)
82newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 117newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height); 152new Rect(left + drawnWidth, 0, blockWidth, height)); 169new Rect(drawnWidth, 0, blockWidth, height)); 182new Rect(drawnWidth, 0, remainder, height));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
162Rect topLeft = new Rect(shadowBounds.Left, shadowBounds.Top, cornerRadius.TopLeft, cornerRadius.TopLeft); 168Rect top = new Rect(guidelineSetX[1], shadowBounds.Top, topWidth, ShadowDepth); 172Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 179Rect left = new Rect(shadowBounds.Left, guidelineSetY[1], ShadowDepth, leftHeight); 186Rect right = new Rect(guidelineSetX[5], guidelineSetY[2], ShadowDepth, rightHeight); 191Rect bottomLeft = new Rect(shadowBounds.Left, guidelineSetY[3], cornerRadius.BottomLeft, cornerRadius.BottomLeft); 197Rect bottom = new Rect(guidelineSetX[3], guidelineSetY[5], bottomWidth, ShadowDepth); 201Rect bottomRight = new Rect(guidelineSetX[4], guidelineSetY[4], cornerRadius.BottomRight, cornerRadius.BottomRight); 218Rect center = new Rect(guidelineSetX[0], guidelineSetY[0], centerWidth, centerHeight);
PresentationFramework.Luna (41)
Microsoft\Windows\Themes\ButtonChrome.cs (8)
405new Rect( 453dc.DrawRoundedRectangle(brush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, 6.0), 4.0, 4.0); 460dc.DrawRoundedRectangle(brush, null, new Rect(bounds.Left, bounds.Bottom - 6.0, bounds.Width, 6.0), 4.0, 4.0); 467dc.DrawRoundedRectangle(brush, null, new Rect(bounds.Left, bounds.Top, 6.0, bounds.Height), 4.0, 4.0); 474dc.DrawRoundedRectangle(brush, null, new Rect(bounds.Right - 6.0, bounds.Top, 6.0, bounds.Height), 4.0, 4.0); 490new Rect( 509new Rect( 525Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
167dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 254dc.DrawRectangle(border, null, new Rect(0.0, 0.0, 1.0, size.Height)); 255dc.DrawRectangle(border, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 302dc.DrawRectangle(sideBrush, null, new Rect(horizontal ? 0.0 : Max0(size.Width - 2.0), 4.0, 2.0, Max0(size.Height - 8.0)));
Microsoft\Windows\Themes\ScrollChrome.cs (8)
228Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 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), 397dc.DrawRectangle(brush, null, new Rect(x + i, y, 1.0, height)); 400dc.DrawRectangle(glyphShadow, null, new Rect(x + i + 1, y + 1, 1.0, height)); 419dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 1.0)); 422dc.DrawRectangle(glyphShadow, null, new Rect(x + 1, y + i + 1, width, 1.0));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (6)
213Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 220innerBounds = new Rect(thickness.Left, 270dc.DrawRectangle(null, highlightPen, new Rect(bounds.Left + 1.0, bounds.Top + 1.0, bounds.Width - 2.0, bounds.Height - 2.0)); 318dc.DrawRectangle(glyphFill, null, new Rect(bounds.Left + 2, bounds.Top + 2, bounds.Width - 4.0, bounds.Height - 4.0)); 346Rect rect = new Rect(bounds.Left + 0.5, 462return new Rect(rt.Left + thick.Left,
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
238child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (5)
82newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 117newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height); 152new Rect(left + drawnWidth, 0, blockWidth, height)); 169new Rect(drawnWidth, 0, blockWidth, height)); 182new Rect(drawnWidth, 0, remainder, height));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
162Rect topLeft = new Rect(shadowBounds.Left, shadowBounds.Top, cornerRadius.TopLeft, cornerRadius.TopLeft); 168Rect top = new Rect(guidelineSetX[1], shadowBounds.Top, topWidth, ShadowDepth); 172Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 179Rect left = new Rect(shadowBounds.Left, guidelineSetY[1], ShadowDepth, leftHeight); 186Rect right = new Rect(guidelineSetX[5], guidelineSetY[2], ShadowDepth, rightHeight); 191Rect bottomLeft = new Rect(shadowBounds.Left, guidelineSetY[3], cornerRadius.BottomLeft, cornerRadius.BottomLeft); 197Rect bottom = new Rect(guidelineSetX[3], guidelineSetY[5], bottomWidth, ShadowDepth); 201Rect bottomRight = new Rect(guidelineSetX[4], guidelineSetY[4], cornerRadius.BottomRight, cornerRadius.BottomRight); 218Rect center = new Rect(guidelineSetX[0], guidelineSetY[0], centerWidth, centerHeight);
PresentationFramework.Royale (39)
Microsoft\Windows\Themes\ButtonChrome.cs (7)
374dc.DrawRoundedRectangle(brush, null, new Rect(bounds.Left, bounds.Top, bounds.Width, 6.0), 3.0, 3.0); 381dc.DrawRoundedRectangle(brush, null, new Rect(bounds.Left, bounds.Bottom - 6.0, bounds.Width, 6.0), 3.0, 3.0); 388dc.DrawRoundedRectangle(brush, null, new Rect(bounds.Left, bounds.Top, 6.0, bounds.Height), 3.0, 3.0); 395dc.DrawRoundedRectangle(brush, null, new Rect(bounds.Right - 6.0, bounds.Top, 6.0, bounds.Height), 3.0, 3.0); 411new Rect( 430new Rect( 446Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight);
Microsoft\Windows\Themes\DataGridHeaderBorder.cs (4)
96dc.DrawRectangle(background, null, new Rect(0.0, 0.0, size.Width, size.Height)); 176dc.DrawRectangle(border, null, new Rect(0.0, 0.0, 1.0, size.Height)); 177dc.DrawRectangle(border, null, new Rect(0.0, Max0(size.Height - 1.0), size.Width, 1.0)); 224dc.DrawRectangle(sideBrush, null, new Rect(horizontal ? 0.0 : Max0(size.Width - 2.0), 4.0, 2.0, Max0(size.Height - 8.0)));
Microsoft\Windows\Themes\ScrollChrome.cs (7)
210Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 292new Rect(bounds.X, bounds.Y, bounds.Width, bounds.Height), 306new Rect(bounds.X, bounds.Y, bounds.Width, bounds.Height), 357dc.DrawRectangle(brush, null, new Rect(x + i, y, 1.0, height)); 360dc.DrawRectangle(glyphShadow, null, new Rect(x + i + 1, y + 1, 1.0, height)); 379dc.DrawRectangle(brush, null, new Rect(x, y + i, width, 1.0)); 382dc.DrawRectangle(glyphShadow, null, new Rect(x + 1, y + i + 1, width, 1.0));
parent\Shared\Microsoft\Windows\Themes\BulletChrome.cs (6)
213Rect bounds = new Rect(0, 0, ActualWidth, ActualHeight); 220innerBounds = new Rect(thickness.Left, 270dc.DrawRectangle(null, highlightPen, new Rect(bounds.Left + 1.0, bounds.Top + 1.0, bounds.Width - 2.0, bounds.Height - 2.0)); 318dc.DrawRectangle(glyphFill, null, new Rect(bounds.Left + 2, bounds.Top + 2, bounds.Width - 4.0, bounds.Height - 4.0)); 346Rect rect = new Rect(bounds.Left + 0.5, 462return new Rect(rt.Left + thick.Left,
parent\Shared\Microsoft\Windows\Themes\DataGridHeaderBorder.cs (1)
238child.Arrange(new Rect(padding.Left, padding.Top, childWidth, childHeight));
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (5)
82newBrush.Viewport = newBrush.Viewbox = new Rect(0, 0, width, height); 117newBrush.Viewport = newBrush.Viewbox = new Rect(left, 0, indeterminateWidth - left, height); 152new Rect(left + drawnWidth, 0, blockWidth, height)); 169new Rect(drawnWidth, 0, blockWidth, height)); 182new Rect(drawnWidth, 0, remainder, height));
parent\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (9)
162Rect topLeft = new Rect(shadowBounds.Left, shadowBounds.Top, cornerRadius.TopLeft, cornerRadius.TopLeft); 168Rect top = new Rect(guidelineSetX[1], shadowBounds.Top, topWidth, ShadowDepth); 172Rect topRight = new Rect(guidelineSetX[2], shadowBounds.Top, cornerRadius.TopRight, cornerRadius.TopRight); 179Rect left = new Rect(shadowBounds.Left, guidelineSetY[1], ShadowDepth, leftHeight); 186Rect right = new Rect(guidelineSetX[5], guidelineSetY[2], ShadowDepth, rightHeight); 191Rect bottomLeft = new Rect(shadowBounds.Left, guidelineSetY[3], cornerRadius.BottomLeft, cornerRadius.BottomLeft); 197Rect bottom = new Rect(guidelineSetX[3], guidelineSetY[5], bottomWidth, ShadowDepth); 201Rect bottomRight = new Rect(guidelineSetX[4], guidelineSetY[4], cornerRadius.BottomRight, cornerRadius.BottomRight); 218Rect center = new Rect(guidelineSetX[0], guidelineSetY[0], centerWidth, centerHeight);
System.Activities.Presentation (34)
System.Activities.Presentation\System\Activities\Presentation\Annotations\AnnotationAdorner.cs (1)
141anchor = FindAnchor(anchorPoint, adornerSize, new Rect(0, 0, this.ScrollViewer.ViewportWidth, this.ScrollViewer.ViewportHeight));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (1)
896Rect fullRect = new Rect(0d, 0d, this.ActualWidth, this.ActualHeight);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (1)
287RenderUtils.DrawInscribedRoundedRect(drawingContext, this.Background, strokePen, new Rect(0d, 0d, this.ActualWidth, this.ActualHeight), this.CornerRadius);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (3)
225child.Arrange(new Rect(Math.Max(0, finalSize.Width - lastChildWidth), 0, lastChildWidth, finalSize.Height)); 229child.Arrange(new Rect(left, 0, Math.Min(desiredWidth, availableWidth), finalSize.Height)); 263dc.DrawRectangle(selectionBrush, null, new Rect(
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectAdorner.cs (4)
52new Rect(-HitTestHeight, (size.Height / 2) - (HitTestWidth / 2), HitTestHeight, HitTestWidth), 53new Rect(size.Width, (size.Height / 2) - (HitTestWidth / 2), HitTestHeight, HitTestWidth), 54new Rect((size.Width / 2) - (HitTestWidth / 2), -HitTestHeight, HitTestWidth, HitTestHeight), 55new Rect((size.Width / 2) - (HitTestWidth / 2), size.Height, HitTestWidth, HitTestHeight)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\AutoConnectHelper.cs (1)
294Rect panelRect = new Rect(0, 0, this.panel.Width, this.panel.Height);
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);
System.Activities.Presentation\System\Activities\Presentation\Model\ModelSearchServiceImpl.cs (1)
717rectToBringIntoView = new Rect(0, 0, width, height);
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (1)
267context.DrawRectangle(((DrawingBrush)resource), null, new Rect(0, 0, defaultPixelWidth, defaultPixelHeight));
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1178background.Arrange(new Rect(0, 0, imageWidth, imageHeight));
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (1)
64Rect actualPanelRect = new Rect(0, 0, 0, 0);
System.Activities.Presentation\System\Activities\Presentation\View\QuadTree.cs (12)
333Rect topLeft = new Rect(toInsert.bounds.Left, toInsert.bounds.Top, w, h); 334Rect topRight = new Rect(toInsert.bounds.Left + w, toInsert.bounds.Top, w, h); 335Rect bottomLeft = new Rect(toInsert.bounds.Left, toInsert.bounds.Top + h, w, h); 336Rect bottomRight = new Rect(toInsert.bounds.Left + w, toInsert.bounds.Top + h, w, h); 413Rect topLeft = new Rect(this.bounds.Left, this.bounds.Top, w, h); 414Rect topRight = new Rect(this.bounds.Left + w, this.bounds.Top, w, h); 415Rect bottomLeft = new Rect(this.bounds.Left, this.bounds.Top + h, w, h); 416Rect bottomRight = new Rect(this.bounds.Left + w, this.bounds.Top + h, w, h); 479Rect topLeft = new Rect(this.bounds.Left, this.bounds.Top, w, h); 480Rect topRight = new Rect(this.bounds.Left + w, this.bounds.Top, w, h); 481Rect bottomLeft = new Rect(this.bounds.Left, this.bounds.Top + h, w, h); 482Rect bottomRight = new Rect(this.bounds.Left + w, this.bounds.Top + h, w, h);
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
274Rect rect = new Rect(location.X, location.Y, view.ActualWidth, view.ActualHeight);
System.Activities.Presentation\System\Activities\Presentation\View\VirtualizedContainerService.cs (4)
53this.tree.Bounds = new Rect(0, 0, int.MaxValue, int.MaxValue); 162var designers = this.tree.GetNodesInside(new Rect(0, 0, double.MaxValue, double.MaxValue)); 195Rect viewerBounds = new Rect(parentView.HorizontalOffset, parentView.VerticalOffset, parentView.ViewportWidth, parentView.ViewportHeight); 328this.oldBounds = new Rect(0, 0, 0, 0);
UIAutomationClient (4)
MS\Internal\Automation\BoundingRectTracker.cs (1)
122new Rect (rc32.left, rc32.top, rc32.right - rc32.left, rc32.bottom - rc32.top));
MS\Internal\Automation\HwndProxyElementProvider.cs (1)
258return new Rect(rcW32.left, rcW32.top, rcW32.right - rcW32.left, rcW32.bottom - rcW32.top);
MS\Internal\Automation\Schema.cs (1)
166return new Rect(left, top, width, height);
MS\Internal\Automation\UiaCoreAPI.cs (1)
1045rects[i] = new Rect(x, y, width, height);
UIAutomationClientsideProviders (20)
MS\Internal\AutomationProxies\Misc.cs (4)
1265return new Rect(left, ti.rcTitleBar.top, right - left, ti.rcTitleBar.bottom - ti.rcTitleBar.top); 2044rects[i] = new Rect(leftEdge, tiDL.rcTitleBar.top, buttonWidth, buttonHeight); 2060rects[i] = new Rect(leftEdge, tiDL.rcTitleBar.top, buttonWidth, buttonHeight); 2099rects[i] = new Rect(ti.rgrect[i].left, ti.rgrect[i].top, ti.rgrect[i].right - ti.rgrect[i].left, ti.rgrect[i].bottom - ti.rgrect[i].top);
MS\Internal\AutomationProxies\WindowsEditBox.cs (1)
632return new Rect(rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top);
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (2)
292Rect rect = new Rect(startPoint.X, startPoint.Y, endPoint.X - startPoint.X, clippingRectangle.Height); 735Rect rect = new Rect(startPoint.X, startPoint.Y, endPoint.X - startPoint.X, height);
MS\Internal\AutomationProxies\WindowsGrip.cs (2)
71return new Rect(client.left - sizeGrip.cx, client.bottom, sizeGrip.cx, sizeGrip.cy); 75return new Rect(client.right, client.bottom, sizeGrip.cx, sizeGrip.cy);
MS\Internal\AutomationProxies\WindowsMenu.cs (2)
841return new Rect(leftEdge, mbi.rcBar.top, buttonWidth, buttonHeight); 1289return new Rect(leftEdge, mbi.rcBar.top, buttonWidth, buttonHeight);
MS\Internal\AutomationProxies\WindowsRebar.cs (1)
431return new Rect (rectW32.left, rectW32.top, rectW32.bottom - rectW32.top, rectW32.right - rectW32.left);
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
195Rect clientRect = new Rect(w32rect.left, w32rect.top, w32rect.right - w32rect.left, w32rect.bottom - w32rect.top);
MS\Internal\AutomationProxies\WindowsSlider.cs (6)
514return new Rect (rcChannel.left, rcChannel.top, rcThumb.left - rcChannel.left, rcChannel.bottom - rcChannel.top); 517return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top); 520return new Rect (rcThumb.right, rcChannel.top, rcChannel.right - rcThumb.right, rcChannel.bottom - rcChannel.top); 531return new Rect (rcChannel.left, rcChannel.top, dx, rcThumb.top - rcChannel.top); 534return new Rect (rcThumb.left, rcThumb.top, rcThumb.right - rcThumb.left, rcThumb.bottom - rcThumb.top); 537return new Rect (rcChannel.left, rcThumb.bottom, dx, dy);
MS\Win32\NativeMethods.cs (1)
1238return new Rect(rc.left, rc.top, rc.right - rc.left, rc.bottom - rc.top);
WindowsBase (1)
Base\System\Windows\Generated\Rect.cs (1)
194value = new Rect(