TemplatedView.OnSizeRequest(Double, Double) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
OnSizeRequest is obsolete as of version 2.2.0. Please use OnMeasure instead.
Method that is called when the layout updates.
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[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
- System.Double
The width constraint that was passed with the request.
- heightConstraint
- System.Double
The height constraint that was passed with the request.
Returns
- Attributes
-
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute