Share via


BoxView.OnSizeRequest(Double, Double) Metodo

Definizione

Attenzione

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

Metodo che viene chiamato quando viene eseguita una richiesta di dimensioni alla visualizzazione finestra.

[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

Parametri

widthConstraint
System.Double

La larghezza richiesta.

heightConstraint
System.Double

L'altezza richiesta.

Restituisce

Attributi
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Si applica a