This method is called during the measure pass of a layout cycle to get the desired size of an element.
Syntax
Parameters
- widthConstraint
- The available width for the element to use.
- heightConstraint
- The available height for the element to use.
Returns
A Xamarin.Forms.SizeRequest> which contains the desired size of the element.
Remarks
Requirements
Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0