Condividi tramite


Layout.CrossPlatformMeasure(Double, Double) Metodo

Definizione

Misura le dimensioni desiderate di ICrossPlatformLayout all'interno dei vincoli specificati.

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

Parametri

widthConstraint
Double

Limite di larghezza per misurare ICrossPlatformLayout.

heightConstraint
Double

Limite di altezza per misurare ICrossPlatformLayout.

Restituisce

Dimensioni desiderate di ILayout.

Si applica a