Compartir a través de


Layout.CrossPlatformMeasure(Double, Double) Método

Definición

Mide el tamaño deseado de ICrossPlatformLayout dentro de las restricciones especificadas.

public:
 virtual Microsoft::Maui::Graphics::Size CrossPlatformMeasure(double widthConstraint, double heightConstraint);
public Microsoft.Maui.Graphics.Size CrossPlatformMeasure (double widthConstraint, double heightConstraint);
abstract member CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
override this.CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
Public Function CrossPlatformMeasure (widthConstraint As Double, heightConstraint As Double) As Size

Parámetros

widthConstraint
Double

Límite de ancho para medir ICrossPlatformLayout.

heightConstraint
Double

Límite de altura para medir ICrossPlatformLayout.

Devoluciones

Tamaño deseado de ILayout.

Se aplica a