Compatibility\Handlers\FlyoutPage\iOS\PhoneFlyoutPageRenderer.cs (4)
115 Element.Layout(new Rect(Element.X, Element.Y, size.Width, size.Height));
143 view.Arrange(new Rect(Element.X, Element.Y, View.Bounds.Width, View.Bounds.Height));
472 FlyoutPageController.FlyoutBounds = new Rect(flyoutFrame.X, 0, flyoutFrame.Width, flyoutFrame.Height);
473 FlyoutPageController.DetailBounds = new Rect(detailsFrame.X, 0, frame.Width, frame.Height);
LegacyLayouts\AbsoluteLayout.cs (2)
21 public static readonly BindableProperty LayoutBoundsProperty = BindableProperty.CreateAttached("LayoutBounds", typeof(Rect), typeof(AbsoluteLayout), new Rect(0, 0, AutoSize, AutoSize));
329 SetLayoutBounds(view, new Rect(position.X, position.Y, AutoSize, AutoSize));
LegacyLayouts\RelativeLayout.cs (3)
210 MockBounds(new Rect(0, 0, mockWidth, mockHeight));
324 BoundsConstraint bounds = BoundsConstraint.FromExpression(() => new Rect(x(), y(), width(), height()), parents.Distinct().ToArray());
383 BoundsConstraint bounds = BoundsConstraint.FromExpression(() => new Rect(xCompiled(), yCompiled(), widthCompiled(), heightCompiled()), fromExpression: true, parents: parents.Distinct().ToArray());
Region.cs (4)
47 positions.Add(new Rect(startX, lineHeightTotal, maxWidth - startX, lineHeights[i]));
50 positions.Add(new Rect(0, lineHeightTotal, maxWidth, lineHeights[i]));
53 positions.Add(new Rect(0, lineHeightTotal, endX, lineHeights[i]));
58 positions.Add(new Rect(startX, lineHeightTotal, endX - startX, lineHeights[i]));