BoxView.OnSizeRequest(Double, Double) Método

Definición

Precaución

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

Método que se llama cuando se realiza una solicitud de tamaño en la vista de cuadro.Method that is called when a size request is made to the box view.

[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

Parámetros

widthConstraint
Double

Ancho solicitado.The requested width.

heightConstraint
Double

Alto solicitado.The requested height.

Devoluciones

SizeRequest
Atributos

Se aplica a