Share via


VisualElement.IView.Measure(Double, Double) Metodo

Definizione

Aggiornamenti le dimensioni di una visualizzazione.

 virtual Microsoft::Maui::Graphics::Size Microsoft.Maui.IView.Measure(double widthConstraint, double heightConstraint) = Microsoft::Maui::IView::Measure;
Microsoft.Maui.Graphics.Size IView.Measure (double widthConstraint, double heightConstraint);
abstract member Microsoft.Maui.IView.Measure : double * double -> Microsoft.Maui.Graphics.Size
override this.Microsoft.Maui.IView.Measure : double * double -> Microsoft.Maui.Graphics.Size
Function Measure (widthConstraint As Double, heightConstraint As Double) As Size Implements IView.Measure

Parametri

widthConstraint
Double

Larghezza che un elemento padre può allocare un elemento figlio.

heightConstraint
Double

Altezza che un elemento padre può allocare un elemento figlio.

Restituisce

Restituisce la dimensione desiderata per questo elemento.

Implementazioni

Si applica a