TemplatedView.OnSizeRequest(Double, Double) TemplatedView.OnSizeRequest(Double, Double) Method

Definition

Warning

This API is now obsolete.

Method that is called when the layout updates.

[System.Obsolete("OnSizeRequest is obsolete as of version 2.2.0. Please use OnMeasure instead.")]
protected override Xamarin.Forms.SizeRequest OnSizeRequest (double widthConstraint, double heightConstraint);
override this.OnSizeRequest : double * double -> Xamarin.Forms.SizeRequest

Parameters

widthConstraint
Double Double

The width constraint that was passed with the request.

heightConstraint
Double Double

The height constraint that was passed with the request.

Returns

Applies to