Поделиться через


Layout.CrossPlatformMeasure(Double, Double) Метод

Определение

Измеряет требуемый размер ICrossPlatformLayout в заданных ограничениях.

public:
 virtual 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
override this.CrossPlatformMeasure : double * double -> Microsoft.Maui.Graphics.Size
Public Function CrossPlatformMeasure (widthConstraint As Double, heightConstraint As Double) As Size

Параметры

widthConstraint
Double

Ограничение ширины для измерения ICrossPlatformLayout.

heightConstraint
Double

Ограничение высоты для измерения ICrossPlatformLayout.

Возвращаемое значение

Требуемый размер ILayout.

Применяется к