Method SetChildBoundsAbsoluteLayout
SetChildBoundsAbsoluteLayout(BindableObject, Rect, AbsoluteLayoutFlags)
Sets the layout bounds and flags for a child element within an AbsoluteLayout.
public static void SetChildBoundsAbsoluteLayout(BindableObject obj, Rect bounds, AbsoluteLayoutFlags flags = AbsoluteLayoutFlags.None)
Parameters
objBindableObjectThe child element whose layout bounds and flags are to be set. Cannot be null.
boundsRectThe rectangle that defines the position and size of the child element within the AbsoluteLayout, in device-independent units.
flagsAbsoluteLayoutFlagsThe layout flags that specify how the bounds are interpreted. The default is AbsoluteLayoutFlags.None.
Remarks
This method is a convenience for setting both the layout bounds and layout flags of a child element in an AbsoluteLayout. It is equivalent to calling AbsoluteLayout.SetLayoutFlags and AbsoluteLayout.SetLayoutBounds separately.