Share via


ILayout.CrossPlatformMeasure(Double, Double) 메서드

정의

이 인터페이스 메서드는 이전 버전과의 호환성을 위해 제공됩니다. 클래스를 구현하려면 이 메서드를 직접 구현하는 대신 ICrossPlatformLayout 인터페이스를 구현해야 합니다.

public:
 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
Public Function CrossPlatformMeasure (widthConstraint As Double, heightConstraint As Double) As Size

매개 변수

widthConstraint
Double

ILayout을 측정하기 위한 너비 제한입니다.

heightConstraint
Double

ILayout을 측정하기 위한 높이 제한입니다.

반환

ILayout의 원하는 크기입니다.

적용 대상