Sdílet prostřednictvím


IView.Measure(Double, Double) Metoda

Definice

Aktualizace velikost zobrazení.

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

Parametry

widthConstraint
Double

Šířka, kterou nadřazený prvek může přidělit podřízený prvek.

heightConstraint
Double

Výška, kterou nadřazený prvek může přidělit podřízený prvek.

Návraty

Vrátí požadovanou velikost pro tento prvek.

Platí pro