Sdílet prostřednictvím


ICrossPlatformLayout.CrossPlatformMeasure(Double, Double) Metoda

Definice

Měří požadovanou velikost ICrossPlatformLayout v rámci daných omezení.

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

Parametry

widthConstraint
Double

Omezení šířky pro měření ICrossPlatformLayout.

heightConstraint
Double

Omezení výšky pro měření ICrossPlatformLayout.

Návraty

Požadovaná velikost ILayout.

Platí pro