Layout. On Size Request(Double, Double) Method
This API is now obsolete.
This method is called during the measure pass of a layout cycle to get the desired size of the StackLayout.
[System.Obsolete("OnSizeRequest is obsolete as of version 2.2.0. Please use OnMeasure instead.")] [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] protected override Xamarin.Forms.SizeRequest OnSizeRequest (double widthConstraint, double heightConstraint);
override this.OnSizeRequest : double * double -> Xamarin.Forms.SizeRequest
The available width for the StackLayout to use.
The available height for the StackLayout to use.
The results of this method will be a sum of all the desired sizes of its children along the orientation axis, and the maximum along the non-orientation axis.