VisualElement.OnMeasure(Double, Double) VisualElement.OnMeasure(Double, Double) Method

Definition

Method that is called when a layout measurement happens.

protected virtual Xamarin.Forms.SizeRequest OnMeasure (double widthConstraint, double heightConstraint);
abstract member OnMeasure : double * double -> Xamarin.Forms.SizeRequest
override this.OnMeasure : double * double -> Xamarin.Forms.SizeRequest
Parameters
widthConstraint
Double Double

The width constraint to request.

heightConstraint
Double Double

The height constraint to request.

Returns

Applies to