The members of Xamarin.Forms.Layout are listed below.
See Also: Inherited members from Xamarin.Forms.View
Layout() | Intitializes a new Xamarin.Forms.Layout instance. |
static readonly | IsClippedToBoundsProperty | BindableProperty. Identifies the Layout.IsClippedToBounds bindable property. |
static readonly | PaddingProperty | BindableProperty. Identifies the Padding bindable property. |
| IsClippedToBounds | bool. Gets or sets a value which determines if the Layout should clip its children to its bounds. | |
| Padding | Thickness. Gets or sets the inner padding of the Layout. |
ForceLayout()Forces a layout cycle on the element and all of its descendants. | ||
override | GetSizeRequest(double, double)Returns the Xamarin.Forms.SizeRequest of the Layout. Calling this method begins the measure pass of a layout cycle. | |
static | LayoutChildIntoBoundingRegion(VisualElement, Rectangle)Positions a child element into a bounding region while respecting the child elements VisualElement.HorizontalOptions and VisualElement.VerticalOptions. | |
LowerChild(View)Sends a child to the back of the visual stack. | ||
RaiseChild(View)Sends a child to the front of the visual stack. | ||
InvalidateLayout()Invalidates the current layout. | ||
abstract | LayoutChildren(double, double, double, double)Positions and sizes the children of a Layout. | |
OnChildMeasureInvalidated()Invoked whenever a child of the layout has emitted VisualElement.MeaureInvalidated. Implement this method to add class handling for this event. | ||
OnChildMeasureInvalidated(object, EventArgs)Invoked whenever a child of the layout has emitted VisualElement.MeaureInvalidated. Implement this method to add class handling for this event. | ||
override | OnSizeAllocated(double, double)This method is called when the size of the element is set during a layout cycle. This method is called directly before the VisualElement.SizeChanged event is emitted. Implement this method to add class handling for this event. | |
ShouldInvalidateOnChildAdded(View)When implemented, should return true if child should call VisualElement.InvalidateMeasure, and to return false if it should not. | ||
ShouldInvalidateOnChildRemoved(View)When implemented, should return true if child should call VisualElement.InvalidateMeasure when it is removed, and to return false if it should not. | ||
UpdateChildrenLayout()Instructs the layout to relayout all of its children. | ||
| LayoutChanged | Occurs at the end of a layout cycle if any of the child element's VisualElement.Bounds have changed. |