This method is called during the measure pass of a layout cycle to get the desired size of the ContentView.
Syntax
Parameters
- widthConstraint
- The available width for the ContentView to use
- heightConstraint
- The available height for the ContentView to use.
Returns
A Xamarin.Forms.SizeRequest which contains the desired size of the StackLayout.
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