Compartilhar via


Layout.CrossPlatformMeasure(Double, Double) Método

Definição

Mede o tamanho desejado do ICrossPlatformLayout dentro das restrições fornecidas.

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

O limite de largura para medir o ICrossPlatformLayout.

heightConstraint
Double

O limite de altura para medir o ICrossPlatformLayout.

Retornos

O tamanho desejado do ILayout.

Aplica-se a