Udostępnij za pośrednictwem


Grid.OnSizeRequest(Double, Double) Method

Definition

Caution

OnSizeRequest is obsolete as of version 2.2.0. Please use OnMeasure instead.

Method that is called when an attempt is made to resize this Grid element.

[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 requested width.

heightConstraint
System.Double

The requested height.

Returns

The new requested size.

Attributes
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Applies to