Condividi tramite


TemplatedView.OnSizeRequest(Double, Double) Metodo

Definizione

Attenzione

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

Metodo chiamato quando viene modificato il layout.

[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

Vincolo di larghezza passato con la richiesta.

heightConstraint
System.Double

Vincolo di altezza passato con la richiesta.

Restituisce

Attributi
System.ComponentModel.EditorBrowsableAttribute System.ObsoleteAttribute

Si applica a