Xamarin.Forms.Image.OnSizeRequest Method
Invoked when the layotu cycle request the element desired size.

Syntax

protected override SizeRequest OnSizeRequest (double widthConstraint, double heightConstraint)

Parameters

widthConstraint
The available width.
heightConstraint
The available height.

Returns

Remarks

Overriden for Image.

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