1 write to Bounds
Microsoft.Maui.Controls (1)
VisualElement\VisualElement.cs (1)
1923
Bounds
= bounds;
23 references to Bounds
Microsoft.Maui.Controls (18)
Compatibility\Handlers\FlyoutPage\iOS\PhoneFlyoutPageRenderer.cs (5)
376
var frame = Element.
Bounds
.ToCGRect();
690
targetFrame.X = (float)Element.
Bounds
.Width - (flyoutWidth + targetFrame.X);
727
flyoutOffsetX = (float)Element.
Bounds
.Width - flyoutFrame.X;
766
: ((float)Element.
Bounds
.Width - targetFrame.Right) / flyoutWidth;
772
: ((float)Element.
Bounds
.Width - targetFrame.X) / flyoutWidth;
Handlers\Items\iOS\TemplateHelpers.cs (2)
23
(handler.PlatformView as UIView).Frame = view.
Bounds
.ToCGRect();
59
wrapperView.Frame = mauiView.
Bounds
.ToCGRect();
LegacyLayouts\Layout.cs (5)
177
/// Occurs at the end of a layout cycle if any of the child element's <see cref="VisualElement.
Bounds
" /> have changed.
441
oldBounds[index] = c.
Bounds
;
467
CompressedLayout.SetHeadlessOffset((VisualElement)LogicalChildrenInternal[i], isHeadless ? new Point(headlessOffset.X +
Bounds
.X, headlessOffset.Y +
Bounds
.Y) : new Point());
477
Rect newBound = ((VisualElement)LogicalChildrenInternal[i]).
Bounds
;
Page\Page.cs (2)
584
startingLayout.Add(c.
Bounds
);
599
if (startingLayout.Count <= i || c.
Bounds
!= startingLayout[i])
ViewExtensions.cs (1)
94
Rect start = view.
Bounds
;
VisualElement\VisualElement.cs (3)
576
/// <remarks><see cref="
Bounds
"/> is assigned during layout.</remarks>
601
/// <para><see cref="HeightRequest"/> does not immediately change the <see cref="
Bounds
"/> of an element; setting the <see cref="HeightRequest"/> will change the resulting height of the element during the next layout pass.</para>
880
/// <para><see cref="WidthRequest"/> does not immediately change the <see cref="
Bounds
"/> of an element; setting the <see cref="WidthRequest"/> will change the resulting width of the element during the next layout pass.</para>
Microsoft.Maui.Controls.Compatibility (5)
RendererToHandlerShim.Tizen.cs (1)
37
PlatformArrange(VisualElementRenderer.Element.
Bounds
);
Tizen\HandlerToRendererShim.cs (2)
69
ViewHandler?.PlatformArrange(Element.
Bounds
);
94
ViewHandler.PlatformArrange(Element.
Bounds
);
Tizen\Renderers\VisualElementRenderer.cs (2)
462
NativeView.UpdateBounds(Element.
Bounds
.ToPixel());
878
var pos = Element.
Bounds
.ToPixel();