VisualElement.IView.Measure(Double, Double) 메서드

정의

보기의 크기를 업데이트.

 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

매개 변수

widthConstraint
Double

부모 요소가 자식 요소를 할당할 수 있는 너비입니다.

heightConstraint
Double

부모 요소가 자식 요소를 할당할 수 있는 높이입니다.

반환

이 요소에 대해 원하는 Size를 반환합니다.

구현

적용 대상