Share via


IViewHandler.GetDesiredSize(Double, Double) 메서드

정의

원하는 크기 및 제약 조건에 따라 보기의 실제 크기를 계산합니다.

public:
 Microsoft::Maui::Graphics::Size GetDesiredSize(double widthConstraint, double heightConstraint);
public Microsoft.Maui.Graphics.Size GetDesiredSize (double widthConstraint, double heightConstraint);
abstract member GetDesiredSize : double * double -> Microsoft.Maui.Graphics.Size
Public Function GetDesiredSize (widthConstraint As Double, heightConstraint As Double) As Size

매개 변수

widthConstraint
Double

뷰 너비에 대한 제약 조건입니다.

heightConstraint
Double

뷰 높이에 대한 제약 조건입니다.

반환

이 처리기에 연결된 뷰의 계산 크기입니다.

적용 대상