VisualElement.IView.Measure(Double, Double) Método

Definição

Atualizações o tamanho de uma Exibição.

 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

Parâmetros

widthConstraint
Double

A largura que um elemento pai pode alocar um elemento filho.

heightConstraint
Double

A altura em que um elemento pai pode alocar um elemento filho.

Retornos

Retornar o Tamanho desejado para esse elemento.

Implementações

Aplica-se a