Compartir a través de


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

Definición

Novedades el tamaño de una vista.

 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

Ancho que un elemento primario puede asignar un elemento secundario.

heightConstraint
Double

Alto que un elemento primario puede asignar un elemento secundario.

Devoluciones

Devuelve el tamaño deseado para este elemento.

Implementaciones

Se aplica a