Condividi tramite


ICrossPlatformLayout.CrossPlatformMeasure(Double, Double) Metodo

Definizione

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

public:
 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
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

Dimensione desiderata dell'ILayout.

Si applica a